From 63dabb39cdebfe33d96fef9c3943ec98239ed4d5 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 4 Oct 2004 15:17:17 +0000 Subject: [PATCH] Fix warnings from crypt.c compile. --- src/port/crypt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/port/crypt.c b/src/port/crypt.c index 0a1036f43e..11d60fbefb 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 #include @@ -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 -- 2.40.0