From: Christos Zoulas Date: Thu, 17 Apr 2014 12:44:01 +0000 (+0000) Subject: kill c99 comments, aix does not like them (Jean-Louis CHARTON) X-Git-Tag: FILE5_19~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db776c33ef97beaa73f490c2b13f3cb4077a0379;p=file kill c99 comments, aix does not like them (Jean-Louis CHARTON) --- diff --git a/src/apprentice.c b/src/apprentice.c index aaff84e5..03bf659a 100644 --- a/src/apprentice.c +++ b/src/apprentice.c @@ -32,7 +32,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: apprentice.c,v 1.202 2014/03/14 18:48:11 christos Exp $") +FILE_RCSID("@(#)$File: apprentice.c,v 1.203 2014/04/01 15:57:28 christos Exp $") #endif /* lint */ #include "magic.h" @@ -1749,7 +1749,7 @@ parse(struct magic_set *ms, struct magic_entry *me, const char *line, */ m->type = get_standard_integer_type(l, &l); } - // It's unsigned. + /* It's unsigned. */ if (m->type != FILE_INVALID) m->flag |= UNSIGNED; } else { diff --git a/src/cdf_time.c b/src/cdf_time.c index 8f17dd1f..bbf018d0 100644 --- a/src/cdf_time.c +++ b/src/cdf_time.c @@ -27,7 +27,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: cdf_time.c,v 1.12 2012/05/15 17:14:36 christos Exp $") +FILE_RCSID("@(#)$File: cdf_time.c,v 1.13 2014/02/25 20:52:02 christos Exp $") #endif #include @@ -117,7 +117,7 @@ cdf_timestamp_to_timespec(struct timespec *ts, cdf_timestamp_t t) tm.tm_hour = (int)(t % 24); t /= 24; - // XXX: Approx + /* XXX: Approx */ tm.tm_year = (int)(CDF_BASE_YEAR + (t / 365)); rdays = cdf_getdays(tm.tm_year);