Skip to content

Commit

Permalink
kill c99 comments, aix does not like them (Jean-Louis CHARTON)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoulasc committed Apr 17, 2014
1 parent 1878ee9 commit db776c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/apprentice.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions src/cdf_time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit db776c3

Please sign in to comment.