[10122] in Athena Bugs
decmips 7.4G: /source/athena/athena.lib/zephyr/clients/syslogd/logger.c
daemon@ATHENA.MIT.EDU (Calvin Clark)
Wed Dec 9 09:24:54 1992
Date: Wed, 9 Dec 92 09:24:45 -0500
From: Calvin Clark <ckclark@mit.edu>
To: bugs@Athena.MIT.EDU
Reply-To: ckclark@mit.edu
System name: podge
Type and version: KN01 7.4G
Display type: PMAX-MFB
What were you trying to do?
Compile "logger" from the Zephyr sources.
What's wrong:
logger.c references errno, but does not declare it. <errno.h>
should be included:
*** 1.1 1992/12/09 14:10:39
--- logger.c 1992/12/09 14:11:43
***************
*** 26,31 ****
--- 26,32 ----
#endif /* not lint */
#include <stdio.h>
+ #include <errno.h>
#include <syslog.h>
#include <ctype.h>
What should have happened:
See above.
Please describe any relevant documentation references:
ANSI X3.159-1989, section 4.1.3