ANSIfication] Another batch.
This commit is contained in:
committed by
Manoël Trapier
parent
3d1d1277b7
commit
0946773758
@@ -36,7 +36,7 @@ struct mkey {
|
||||
//char *strcpy();
|
||||
//char *sprint();
|
||||
|
||||
init_pp()
|
||||
void init_pp()
|
||||
{
|
||||
static char *months[12] = {
|
||||
"Jan", "Feb", "Mar", "Apr", "May", "Jun",
|
||||
@@ -74,7 +74,7 @@ init_pp()
|
||||
/* __DATE__ */
|
||||
sprint(dbuf, "\"%s %2d %d\"", months[tp->tm_mon],
|
||||
tp->tm_mday, tp->tm_year+1900);
|
||||
/* if (tp->tm_mday < 10) dbuf[5] = ' '; /* hack */
|
||||
/* if (tp->tm_mday < 10) dbuf[5] = ' ';*/ /* hack */
|
||||
macro_def(str2idf("__DATE__", 0), dbuf, -1, strlen(dbuf), NOUNDEF);
|
||||
|
||||
/* __TIME__ */
|
||||
|
||||
Reference in New Issue
Block a user