diff options
author | Alex Colomar <alx.manpages@gmail.com> | 2022-09-13 16:34:15 +0200 |
---|---|---|
committer | Alex Colomar <alx.manpages@gmail.com> | 2022-09-13 16:47:30 +0200 |
commit | 96a4746d7434cacf7f5b46867b3a41c38815bc90 (patch) | |
tree | e92132ed5e7dc16dce33b5269477334da161bc9d | |
parent | 9b6b5ad7d096ba93b8ddb308fc006346d6740657 (diff) |
__ppc_get_timebase.3, if_nameindex.3, rtime.3: EXAMPLES: wsfix
Reported-by: cpplint(1)
Signed-off-by: Alex Colomar <alx.manpages@gmail.com>
-rw-r--r-- | man3/__ppc_get_timebase.3 | 2 | ||||
-rw-r--r-- | man3/if_nameindex.3 | 2 | ||||
-rw-r--r-- | man3/rtime.3 | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/man3/__ppc_get_timebase.3 b/man3/__ppc_get_timebase.3 index 44dbbd39e..e9348f29f 100644 --- a/man3/__ppc_get_timebase.3 +++ b/man3/__ppc_get_timebase.3 @@ -87,7 +87,7 @@ main(void) } printf("Elapsed time = %1.2f usecs\en", - (double) diff * 1000000 / freq ); + (double) diff * 1000000 / freq); exit(EXIT_SUCCESS); } diff --git a/man3/if_nameindex.3 b/man3/if_nameindex.3 index 169381b8f..c6cc31236 100644 --- a/man3/if_nameindex.3 +++ b/man3/if_nameindex.3 @@ -138,7 +138,7 @@ main(void) exit(EXIT_FAILURE); } - for (i = if_ni; ! (i\->if_index == 0 && i\->if_name == NULL); i++) + for (i = if_ni; !(i\->if_index == 0 && i\->if_name == NULL); i++) printf("%u: %s\en", i\->if_index, i\->if_name); if_freenameindex(if_ni); diff --git a/man3/rtime.3 b/man3/rtime.3 index 0a283a8b1..9c3d10b1f 100644 --- a/man3/rtime.3 +++ b/man3/rtime.3 @@ -126,8 +126,8 @@ main(void) int ret; time_t t; struct hostent *hent; - struct rpc_timeval time1 = {0,0}; - struct rpc_timeval timeout = {1,0}; + struct rpc_timeval time1 = {0, 0}; + struct rpc_timeval timeout = {1, 0}; struct sockaddr_in name; memset(&name, 0, sizeof(name)); |