aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2012-12-22 22:37:37 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2012-12-22 22:39:23 +0100
commit97927abec00b07aba7c40458ef8b1523eb64aca4 (patch)
treefeeba8110668997d8c1e710dfaff70d10fef7669
parent6d2f6aff6db6b855da7c4605c8ef39f12dfde3fa (diff)
downloadman-pages-97927abec00b07aba7c40458ef8b1523eb64aca4.tar.gz
sendmmsg.2: Minor fix to example program: s/main()/main(void)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/sendmmsg.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/sendmmsg.2 b/man2/sendmmsg.2
index 3c077f9205..64a0edb7d5 100644
--- a/man2/sendmmsg.2
+++ b/man2/sendmmsg.2
@@ -183,7 +183,7 @@ The contents of the first datagram originates from a pair of buffers.
#include <sys/socket.h>
int
-main()
+main(void)
{
int sockfd;
struct sockaddr_in sa;