]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
getpwent_r.3: Declare variables with different types in different lines
authorAlejandro Colomar <colomar.6.4.3@gmail.com>
Thu, 10 Sep 2020 21:13:37 +0000 (23:13 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 11 Sep 2020 06:43:14 +0000 (08:43 +0200)
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/getpwent_r.3

index 64f27dbfbb1b80e64bc781abb9ab86f633ad22be..14f95bd2875bf1103ec956809b08205eee50b01c 100644 (file)
@@ -184,7 +184,8 @@ in the stream with all other threads.
 int
 main(void)
 {
-    struct passwd pw, *pwp;
+    struct passwd pw;
+    struct passwd *pwp;
     char buf[BUFLEN];
     int i;