summaryrefslogtreecommitdiffstats
path: root/winsup/utils/mkpasswd.c
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-10-28 05:00:00 +0000
committerChristopher Faylor <me@cgf.cx>2000-10-28 05:00:00 +0000
commiteedc36cb12f20ed62f5dfeaea25c84c7c984cf5f (patch)
tree5171ebc934d3017789e207a6ce10f9627acc5b8c /winsup/utils/mkpasswd.c
parent3c952fed3fecfe6aec09d07a5cbad293970da0a0 (diff)
downloadcygnal-eedc36cb12f20ed62f5dfeaea25c84c7c984cf5f.tar.gz
cygnal-eedc36cb12f20ed62f5dfeaea25c84c7c984cf5f.tar.bz2
cygnal-eedc36cb12f20ed62f5dfeaea25c84c7c984cf5f.zip
Cleanup formatting on some files. Remove excessive whitespace.
Diffstat (limited to 'winsup/utils/mkpasswd.c')
-rw-r--r--winsup/utils/mkpasswd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/winsup/utils/mkpasswd.c b/winsup/utils/mkpasswd.c
index 91c7cb294..2f32206a9 100644
--- a/winsup/utils/mkpasswd.c
+++ b/winsup/utils/mkpasswd.c
@@ -42,7 +42,7 @@ put_sid (PSID sid)
return s;
}
-void
+void
psx_dir (char *in, char *out)
{
if (isalpha (in[0]) && in[1] == ':')
@@ -65,7 +65,7 @@ psx_dir (char *in, char *out)
*out = '\0';
}
-void
+void
uni2ansi (LPWSTR wcs, char *mbs)
{
if (wcs)
@@ -75,7 +75,7 @@ uni2ansi (LPWSTR wcs, char *mbs)
*mbs = '\0';
}
-int
+int
enum_users (LPWSTR servername, int print_sids, int print_cygpath)
{
USER_INFO_3 *buffer;
@@ -191,7 +191,7 @@ enum_users (LPWSTR servername, int print_sids, int print_cygpath)
return 0;
}
-int
+int
enum_local_groups (int print_sids)
{
LOCALGROUP_INFO_0 *buffer;
@@ -277,7 +277,7 @@ enum_local_groups (int print_sids)
return 0;
}
-void
+void
usage ()
{
fprintf (stderr, "\n");
@@ -296,7 +296,7 @@ usage ()
exit (1);
}
-int
+int
main (int argc, char **argv)
{
LPWSTR servername = NULL;