]> granicus.if.org Git - mutt/commitdiff
Don't use functions without importing the corresponding prototype.
authorThomas Roessler <roessler@does-not-exist.org>
Fri, 7 Mar 2003 08:23:27 +0000 (08:23 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Fri, 7 Mar 2003 08:23:27 +0000 (08:23 +0000)
crypt.c
pgp.h

diff --git a/crypt.c b/crypt.c
index b0ecafaaa27e731f0ebf951631e9a6003c2b0ff1..9cac34c74eefed5409ee06ccce551afe40a83d91 100644 (file)
--- a/crypt.c
+++ b/crypt.c
@@ -26,6 +26,7 @@
 #include "mime.h"
 #include "copy.h"
 #include "mutt_crypt.h"
+#include "pgp.h"
 
 #include <sys/wait.h>
 #include <string.h>
diff --git a/pgp.h b/pgp.h
index a975736b4f723ba6190b29be608646c2f23bc021..5c696651e178bc59f22f2dd48767b24d8cb6daee 100644 (file)
--- a/pgp.h
+++ b/pgp.h
@@ -25,7 +25,7 @@
 
 /* prototypes */
 
-int pgp_use_gpg_agent();
+int pgp_use_gpg_agent(void);
 
 int pgp_check_traditional (FILE *, BODY *, int);
 BODY *pgp_decrypt_part (BODY *, STATE *, FILE *, BODY *);