projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use better error msgs for tempfile
[apps/madmutt.git]
/
lib-crypt
/
pgplib.c
diff --git
a/lib-crypt/pgplib.c
b/lib-crypt/pgplib.c
index
2532db5
..
9213016
100644
(file)
--- a/
lib-crypt/pgplib.c
+++ b/
lib-crypt/pgplib.c
@@
-9,19
+9,8
@@
/* Generally useful, pgp-related functions. */
/* Generally useful, pgp-related functions. */
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-#include <time.h>
-
#include <lib-lib/lib-lib.h>
#include <lib-lib/lib-lib.h>
-#include "mutt.h"
#include "lib.h"
#include "pgplib.h"
#include "lib.h"
#include "pgplib.h"
@@
-107,7
+96,7
@@
short pgp_get_abilities (unsigned char type)
return (pgp_canencrypt (type) << 1) | pgp_cansign (type);
}
return (pgp_canencrypt (type) << 1) | pgp_cansign (type);
}
-void pgp_free_sig (pgp_sig_t ** sigp)
+
static
void pgp_free_sig (pgp_sig_t ** sigp)
{
pgp_sig_t *sp, *q;
{
pgp_sig_t *sp, *q;
@@
-122,7
+111,7
@@
void pgp_free_sig (pgp_sig_t ** sigp)
*sigp = NULL;
}
*sigp = NULL;
}
-void pgp_free_uid (pgp_uid_t ** upp)
+
static
void pgp_free_uid (pgp_uid_t ** upp)
{
pgp_uid_t *up, *q;
{
pgp_uid_t *up, *q;