mail/anubis: fix build on recent current

This commit is contained in:
Tobias C. Berner 2020-08-27 18:31:08 +00:00
parent f088d00f2a
commit 1e1ee91950
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546393
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,17 @@
--- src/anubisadm.h.orig 2020-08-27 18:29:03 UTC
+++ src/anubisadm.h
@@ -26,10 +26,10 @@
typedef int (*operation_fp) (int, char **);
-char *authid;
-char *username;
-char *rcfile;
-char *password;
+extern char *authid;
+extern char *username;
+extern char *rcfile;
+extern char *password;
int op_create (int argc, char **argv);
int op_list (int argc, char **argv);

View File

@ -0,0 +1,11 @@
--- src/rcfile.h.orig 2020-08-27 18:24:43 UTC
+++ src/rcfile.h
@@ -213,7 +213,7 @@ typedef void (*RC_ERROR_PRINTER) (void *data,
const char *fmt, va_list ap);
/* Global data */
-struct rc_loc rc_locus;
+extern struct rc_loc rc_locus;
/* Function declarations */
void verbatim (void);