Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit63dabb3

Browse files
committed
Fix warnings from crypt.c compile.
1 parentf95ff4b commit63dabb3

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
staticintdes_setkey(constchar*key);
6060
staticintdes_cipher(constchar*in,char*out,longsalt,intnum_iter);
61-
staticintsetkey(constchar*key);
62-
staticintencrypt(char*block,intflag);
6361

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

10721072
#ifdefDEBUG
10731073
STATIC

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp