diff options
author | Jim Meyering <jim@meyering.net> | 1998-12-07 03:12:10 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-12-07 03:12:10 +0000 |
commit | 7d60769bead4b89a096e10bacbb503702ea6e44c (patch) | |
tree | c03ba9bef1c0339b2f4cbe993acff983cddb2146 /lib/userspec.c | |
parent | 604b3b397d5aa9ee10749f582fd67f1d2ae91a7f (diff) | |
download | coreutils-7d60769bead4b89a096e10bacbb503702ea6e44c.tar.xz |
ansideclify
Diffstat (limited to 'lib/userspec.c')
-rw-r--r-- | lib/userspec.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/userspec.c b/lib/userspec.c index dd1d88a94..853603059 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; |