]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
getgrent_r.3: Declare variables with different types in different lines
authorAlejandro Colomar <colomar.6.4.3@gmail.com>
Fri, 25 Sep 2020 07:31:41 +0000 (09:31 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 25 Sep 2020 07:57:26 +0000 (09:57 +0200)
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/getgrent_r.3

index 8170cd417e0e80345b3e90e757a06904da261b69..64d7f3ac16e45b73704b54ef2bcd0580a5c8ecc2 100644 (file)
@@ -181,7 +181,8 @@ in the stream with all other threads.
 int
 main(void)
 {
-    struct group grp, *grpp;
+    struct group grp;
+    struct group *grpp;
     char buf[BUFLEN];
     int i;