projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Author: Bleep <tomh@inxpress.net>
[ircu2.10.12-pk.git]
/
include
/
support.h
diff --git
a/include/support.h
b/include/support.h
index 5629669589f8b482d4933156f25be328d06b7a5a..b3e546f0151a9b6a6087efced07675a40f058f3b 100644
(file)
--- a/
include/support.h
+++ b/
include/support.h
@@
-1,22
+1,27
@@
-#ifndef SUPPORT_H
-#define SUPPORT_H
-
-#include <netinet/in.h>
-
-/*=============================================================================
- * Proto types
+/*
+ * support.h
+ *
+ * $Id$
*/
*/
-
-#ifndef HAVE_STRTOKEN
-extern char *strtoken(char **save, char *str, char *fs);
+#ifndef INCLUDED_support_h
+#define INCLUDED_support_h
+#ifndef INCLUDED_config_h
+#include "config.h"
+#define INCLUDED_config_h
#endif
#endif
-#ifndef HAVE_STRERROR
-extern char *strerror(int err_no);
+#if 0
+#ifndef INCLUDED_sys_types_h
+#include <sys/types.h> /* broken BSD system headers */
+#define INCLUDED_sys_types_h
#endif
#endif
-extern void dumpcore(const char *pattern, ...)
- __attribute__ ((format(printf, 1, 2)));
-extern char *inetntoa(struct in_addr in);
+#endif /* 0 */
+
+/*
+ * Prototypes
+ */
+
+extern void dumpcore(const char *pattern, ...);
extern int check_if_ipmask(const char *mask);
extern void write_log(const char *filename, const char *pattern, ...);
extern int check_if_ipmask(const char *mask);
extern void write_log(const char *filename, const char *pattern, ...);
-#endif /*
SUPPORT_H
*/
+#endif /*
INCLUDED_support_h
*/