aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorAlejandro Colomar <colomar.6.4.3@gmail.com>2020-09-10 23:13:37 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-09-11 08:43:14 +0200
commit4e4e6e5e143b2b33fa5fa23f09fba921a043780d (patch)
tree1d6d6eeea44ad34877a6bbffa1c3e2b004c8b379 /man3
parentb8c40f89462ddd8bb95d80e41f90592082fe1de6 (diff)
downloadman-pages-4e4e6e5e143b2b33fa5fa23f09fba921a043780d.tar.gz
getpwent_r.3: Declare variables with different types in different lines
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/getpwent_r.33
1 files changed, 2 insertions, 1 deletions
diff --git a/man3/getpwent_r.3 b/man3/getpwent_r.3
index 64f27dbfbb..14f95bd287 100644
--- a/man3/getpwent_r.3
+++ b/man3/getpwent_r.3
@@ -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;