summaryrefslogtreecommitdiff
path: root/src/bin/pg_passwd/pg_passwd.c
diff options
context:
space:
mode:
authorBruce Momjian2000-04-12 17:17:23 +0000
committerBruce Momjian2000-04-12 17:17:23 +0000
commit52f77df613cea1803ce86321c37229626d9f213c (patch)
treebd9ac9f667f295cb65f4c448a5bb5a062d656b27 /src/bin/pg_passwd/pg_passwd.c
parentdb4518729d85da83eafdacbcebaeb12618517595 (diff)
Ye-old pgindent run. Same 4-space tabs.
Diffstat (limited to 'src/bin/pg_passwd/pg_passwd.c')
-rw-r--r--src/bin/pg_passwd/pg_passwd.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/bin/pg_passwd/pg_passwd.c b/src/bin/pg_passwd/pg_passwd.c
index 001ce9a7720..f5edf552ebf 100644
--- a/src/bin/pg_passwd/pg_passwd.c
+++ b/src/bin/pg_passwd/pg_passwd.c
@@ -19,12 +19,12 @@ extern char *crypt(const char *, const char *);
#endif
char *comname;
-static void usage(FILE *stream);
-static void read_pwd_file(char *filename);
-static void write_pwd_file(char *filename, char *bkname);
-static void encrypt_pwd(char key[9], char salt[3], char passwd[14]);
-static void prompt_for_username(char *username);
-static void prompt_for_password(char *prompt, char *password);
+static void usage(FILE *stream);
+static void read_pwd_file(char *filename);
+static void write_pwd_file(char *filename, char *bkname);
+static void encrypt_pwd(char key[9], char salt[3], char passwd[14]);
+static void prompt_for_username(char *username);
+static void prompt_for_password(char *prompt, char *password);
static void
usage(FILE *stream)
@@ -258,6 +258,7 @@ check_pwd(char key[9], char passwd[14])
return strncmp(shouldbe, passwd, 13) == 0 ? 1 : 0;
}
+
#endif
static void