]> granicus.if.org Git - file/commitdiff
kill c99 comments, aix does not like them (Jean-Louis CHARTON)
authorChristos Zoulas <christos@zoulas.com>
Thu, 17 Apr 2014 12:44:01 +0000 (12:44 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 17 Apr 2014 12:44:01 +0000 (12:44 +0000)
src/apprentice.c
src/cdf_time.c

index aaff84e580a73c88725f1ae91d3db983edd20f64..03bf659ab28ecfae951a7121d89c13e9d45dbfcc 100644 (file)
@@ -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 {
index 8f17dd1f5d5a801ac7d731ec4d4b5257cc22c676..bbf018d03f4a22a51cae0d3415419892b5fb9f93 100644 (file)
@@ -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 <time.h>
@@ -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);