diff --git a/libopendkim/dkim-atps.c b/libopendkim/dkim-atps.c index 7154a33f..df6026ca 100644 --- a/libopendkim/dkim-atps.c +++ b/libopendkim/dkim-atps.c @@ -39,9 +39,6 @@ # include #endif /* USE_GNUTLS */ -/* prototypes */ -extern void dkim_error (DKIM *, const char *, ...); - /* local definitions needed for DNS queries */ #define MAXPACKET 8192 #if defined(__RES) && (__RES >= 19940415) diff --git a/libopendkim/dkim-canon.c b/libopendkim/dkim-canon.c index ef95b566..7bd1b02b 100644 --- a/libopendkim/dkim-canon.c +++ b/libopendkim/dkim-canon.c @@ -63,9 +63,6 @@ #define DKIM_ISWSP(x) ((x) == 011 || (x) == 040) #define DKIM_ISLWSP(x) ((x) == 011 || (x) == 012 || (x) == 015 || (x) == 040) -/* prototypes */ -extern void dkim_error (DKIM *, const char *, ...); - /* ========================= PRIVATE SECTION ========================= */ /* diff --git a/libopendkim/dkim-internal.h b/libopendkim/dkim-internal.h index fbe14615..c0fddbf8 100644 --- a/libopendkim/dkim-internal.h +++ b/libopendkim/dkim-internal.h @@ -164,5 +164,7 @@ extern DKIM_NAMETABLE *dkim_table_mandatory; extern DKIM_STAT dkim_process_set (DKIM *, dkim_set_t, u_char *, size_t, void *, _Bool, const char *); extern DKIM_STAT dkim_siglist_setup (DKIM *); +extern DKIM_STAT dkim_get_key (DKIM *, DKIM_SIGINFO *, _Bool); +extern void dkim_error (DKIM *, const char *, ...); #endif /* ! _DKIM_INTERNAL_H_ */ diff --git a/libopendkim/dkim-keys.c b/libopendkim/dkim-keys.c index c7d2d167..b0a64eb2 100644 --- a/libopendkim/dkim-keys.c +++ b/libopendkim/dkim-keys.c @@ -39,9 +39,6 @@ # include #endif /* USE_STRL_H */ -/* prototypes */ -extern void dkim_error (DKIM *, const char *, ...); - /* local definitions needed for DNS queries */ #define MAXPACKET 8192 #if defined(__RES) && (__RES >= 19940415) diff --git a/libopendkim/dkim-report.c b/libopendkim/dkim-report.c index 38b0bab2..4f50ca4e 100644 --- a/libopendkim/dkim-report.c +++ b/libopendkim/dkim-report.c @@ -24,9 +24,6 @@ #include "dkim-types.h" #include "util.h" -/* prototypes */ -extern void dkim_error (DKIM *, const char *, ...); - /* local definitions needed for DNS queries */ #define MAXPACKET 8192 #if defined(__RES) && (__RES >= 19940415) diff --git a/libopendkim/dkim-test.c b/libopendkim/dkim-test.c index e7684565..f063b757 100644 --- a/libopendkim/dkim-test.c +++ b/libopendkim/dkim-test.c @@ -51,9 +51,6 @@ #define TESTTTL 300 #define MAXPACKET 8192 -/* prototypes from elsewhere */ -extern DKIM_STAT dkim_get_key (DKIM *, DKIM_SIGINFO *, _Bool); - /* ** DKIM_TEST_DNS_PUT -- enqueue a DNS reply for automated testing ** diff --git a/libopendkim/dkim-util.c b/libopendkim/dkim-util.c index 1d4aee70..ae6f6e93 100644 --- a/libopendkim/dkim-util.c +++ b/libopendkim/dkim-util.c @@ -28,9 +28,6 @@ #include "dkim-types.h" #include "dkim-util.h" -/* prototypes */ -extern void dkim_error (DKIM *, const char *, ...); - /* ** DKIM_MALLOC -- allocate memory **