summaryrefslogtreecommitdiff
path: root/lib/userspec.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-12-07 03:12:10 +0000
committerJim Meyering <jim@meyering.net>1998-12-07 03:12:10 +0000
commitcf42d3e5e80be6bf7093a3ca9be0d04033eaf527 (patch)
tree543a42788b98d2434d48ed591ab42661d6875bd8 /lib/userspec.c
parentb033b039d62ed233894b85d4bf9f5f8dbaf34197 (diff)
downloadgnulib-cf42d3e5e80be6bf7093a3ca9be0d04033eaf527.tar.gz
ansideclify
Diffstat (limited to 'lib/userspec.c')
-rw-r--r--lib/userspec.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/userspec.c b/lib/userspec.c
index dd1d88a946..8536030594 100644
--- a/lib/userspec.c
+++ b/lib/userspec.c
@@ -93,8 +93,7 @@ char *strdup ();
otherwise return 0. */
static int
-is_number (str)
- const char *str;
+is_number (const char *str)
{
for (; *str; str++)
if (!isdigit (*str))
@@ -115,11 +114,7 @@ is_number (str)
Return NULL if successful, a static error message string if not. */
const char *
-parse_user_spec (spec_arg, uid, gid, username_arg, groupname_arg)
- const char *spec_arg;
- uid_t *uid;
- gid_t *gid;
- char **username_arg, **groupname_arg;
+parse_user_spec (const char *spec_arg, uid_t *uid, gid_t *gid, char **username_arg, char **groupname_arg)
{
static const char *tired = "virtual memory exhausted";
const char *error_msg;