[zorp-hu] 1.4.0rc16: lib/log.h

CSABAI Csaba csibi@saveas.hu
Sat, 26 Jan 2002 11:32:36 +0100 (CET)


log.c: In function `z_send_syslog':
log.c:105: storage size of `t' isn't known
log.c:110: warning: implicit declaration of function `time'
log.c:111: warning: implicit declaration of function `localtime_r'
log.c:113: warning: implicit declaration of function `strftime'
log.c:105: warning: unused variable `t'

A hibat rezolvalta az, hogy a log.c elejere beraktam az #include <time.h>

Nemtom, hogy altalanos-e a hiba, vagy csak az en elcseszett include
konyvtaram miatt jott elo, mert latom hogy be van includeolva a
sys/time.h, amiben valahol be kene includeolnia a sima time.h-t amiben a
struct tm van deklaralva viszont ezt nem teszi.

csibi