Fix build on Alpha (inconsistent prototypes for error()).
Reported by: naddy
This commit is contained in:
parent
599d9545d4
commit
70173e6382
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71877
17
net-mgmt/argus/files/patch-ab
Normal file
17
net-mgmt/argus/files/patch-ab
Normal file
@ -0,0 +1,17 @@
|
||||
--- include/argus_filter.h~ Fri May 31 14:11:34 2002
|
||||
+++ include/argus_filter.h Wed Dec 25 22:13:46 2002
|
||||
@@ -216,7 +216,13 @@
|
||||
extern void *ArgusCalloc (int, int);
|
||||
extern void ArgusFree (void *);
|
||||
|
||||
-extern void error(va_list);
|
||||
+/*extern void error(va_list);*/
|
||||
+#if defined(__STDC__)
|
||||
+void error(const char *fmt, ...);
|
||||
+#else
|
||||
+void error(const char *fmt, va_dcl);
|
||||
+#endif
|
||||
+
|
||||
extern void warning(va_list);
|
||||
|
||||
extern char *savestr(const char *);
|
17
net/argus/files/patch-ab
Normal file
17
net/argus/files/patch-ab
Normal file
@ -0,0 +1,17 @@
|
||||
--- include/argus_filter.h~ Fri May 31 14:11:34 2002
|
||||
+++ include/argus_filter.h Wed Dec 25 22:13:46 2002
|
||||
@@ -216,7 +216,13 @@
|
||||
extern void *ArgusCalloc (int, int);
|
||||
extern void ArgusFree (void *);
|
||||
|
||||
-extern void error(va_list);
|
||||
+/*extern void error(va_list);*/
|
||||
+#if defined(__STDC__)
|
||||
+void error(const char *fmt, ...);
|
||||
+#else
|
||||
+void error(const char *fmt, va_dcl);
|
||||
+#endif
|
||||
+
|
||||
extern void warning(va_list);
|
||||
|
||||
extern char *savestr(const char *);
|
Loading…
Reference in New Issue
Block a user