diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-02-17 18:26:57 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-02-17 18:26:57 +0000 |
commit | 480fccaf5f966d585bf131b039db7e5babe68706 (patch) | |
tree | 51f512266362674c38262d6be58cce8e98cf79e5 /lib/libc | |
parent | f0fc8732127f84bff6666be255541adb06f4acee (diff) |
minor KNF
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/pw_dup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/gen/pw_dup.c b/lib/libc/gen/pw_dup.c index 2b94192cc51..f1040a02ad5 100644 --- a/lib/libc/gen/pw_dup.c +++ b/lib/libc/gen/pw_dup.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pw_dup.c,v 1.2 2002/04/29 18:43:08 millert Exp $ */ +/* $OpenBSD: pw_dup.c,v 1.3 2003/02/17 18:26:56 millert Exp $ */ /* * Copyright (c) 2000,2002 Todd C. Miller <Todd.Miller@courtesan.com> @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: pw_dup.c,v 1.2 2002/04/29 18:43:08 millert Exp $"; +static const char rcsid[] = "$OpenBSD: pw_dup.c,v 1.3 2003/02/17 18:26:56 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -72,7 +72,7 @@ pw_dup(const struct passwd *pw) total += ssize; } if ((cp = malloc(total)) == NULL) - return(NULL); + return (NULL); newpw = (struct passwd *)cp; /* @@ -112,5 +112,5 @@ pw_dup(const struct passwd *pw) cp += ssize; } - return(newpw); + return (newpw); } |