aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-10-04 15:17:17 +0000
committerBruce Momjian <bruce@momjian.us>2004-10-04 15:17:17 +0000
commit63dabb39cdebfe33d96fef9c3943ec98239ed4d5 (patch)
tree0459b940b712d5a149e912502d648291d8206363
parentf95ff4b97894571809f7e2f7f636fc89475ad738 (diff)
downloadpostgresql-63dabb39cdebfe33d96fef9c3943ec98239ed4d5.tar.gz
postgresql-63dabb39cdebfe33d96fef9c3943ec98239ed4d5.zip
Fix warnings from crypt.c compile.
-rw-r--r--src/port/crypt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/port/crypt.c b/src/port/crypt.c
index 0a1036f43e3..11d60fbefb8 100644
--- a/src/port/crypt.c
+++ b/src/port/crypt.c
@@ -45,7 +45,7 @@ __RCSID("$NetBSD: crypt.c,v 1.18 2001/03/01 14:37:35 wiz Exp $");
#endif
#endif /* not lint */
-#include "pg_config.h"
+#include "c.h"
#include <stddef.h>
#include <sys/types.h>
@@ -58,8 +58,6 @@ __RCSID("$NetBSD: crypt.c,v 1.18 2001/03/01 14:37:35 wiz Exp $");
static int des_setkey(const char *key);
static int des_cipher(const char *in, char *out, long salt, int num_iter);
-static int setkey(const char *key);
-static int encrypt(char *block, int flag);
/*
* UNIX password, and DES, encryption.
@@ -1010,6 +1008,7 @@ int chars_in,
/*
* "setkey" routine (for backwards compatibility)
*/
+#ifdef NOT_USED
int
setkey(key)
const char *key;
@@ -1068,6 +1067,7 @@ int flag;
}
return (0);
}
+#endif
#ifdef DEBUG
STATIC