Skip to content

Commit 63dabb3

Browse files
committed
Fix warnings from crypt.c compile.
1 parent f95ff4b commit 63dabb3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/port/crypt.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ __RCSID("$NetBSD: crypt.c,v 1.18 2001/03/01 14:37:35 wiz Exp $");
4545
#endif
4646
#endif /* not lint */
4747

48-
#include "pg_config.h"
48+
#include "c.h"
4949

5050
#include <stddef.h>
5151
#include <sys/types.h>
@@ -58,8 +58,6 @@ __RCSID("$NetBSD: crypt.c,v 1.18 2001/03/01 14:37:35 wiz Exp $");
5858

5959
static int des_setkey(const char *key);
6060
static int des_cipher(const char *in, char *out, long salt, int num_iter);
61-
static int setkey(const char *key);
62-
static int encrypt(char *block, int flag);
6361

6462
/*
6563
* UNIX password, and DES, encryption.
@@ -1010,6 +1008,7 @@ int chars_in,
10101008
/*
10111009
* "setkey" routine (for backwards compatibility)
10121010
*/
1011+
#ifdef NOT_USED
10131012
int
10141013
setkey(key)
10151014
const char *key;
@@ -1068,6 +1067,7 @@ int flag;
10681067
}
10691068
return (0);
10701069
}
1070+
#endif
10711071

10721072
#ifdef DEBUG
10731073
STATIC

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy