Mercurial > hg > Applications > mh
comparison support/pop/syslog.c @ 10:a6481689f99c
*** empty log message ***
author | kono |
---|---|
date | Wed, 06 Dec 2006 03:17:53 +0900 |
parents | bce86c4163a3 |
children | 441a2190cfae |
comparison
equal
deleted
inserted
replaced
9:52d0fa25c554 | 10:a6481689f99c |
---|---|
44 int LogMask = LOG_DEBUG; /* lowest priority to be logged */ | 44 int LogMask = LOG_DEBUG; /* lowest priority to be logged */ |
45 | 45 |
46 struct sockaddr_in SyslogAddr; | 46 struct sockaddr_in SyslogAddr; |
47 static char *SyslogHost = LOG_HOST; | 47 static char *SyslogHost = LOG_HOST; |
48 | 48 |
49 #ifdef __CYGWIN32__ | 49 |
50 #include <errno.h> | 50 #include <errno.h> |
51 #endif | 51 |
52 extern int errno; | |
53 #if !defined(BSD44) && !defined(__GNU_LIBRARY__) | 52 #if !defined(BSD44) && !defined(__GNU_LIBRARY__) |
54 extern int sys_nerr; | 53 extern int sys_nerr; |
55 extern char *sys_errlist[]; | 54 extern char *sys_errlist[]; |
56 #else | 55 #else |
57 #include <stdio.h> | 56 #include <stdio.h> |
58 #endif | |
59 #ifdef __NetBSD__ /* XXX */ | |
60 #include <errno.h> | |
61 #endif | 57 #endif |
62 | 58 |
63 syslog(pri, fmt, p0, p1, p2, p3, p4) | 59 syslog(pri, fmt, p0, p1, p2, p3, p4) |
64 int pri; | 60 int pri; |
65 char *fmt; | 61 char *fmt; |