diff options
Diffstat (limited to 'man3')
| -rw-r--r-- | man3/end.3 | 2 | ||||
| -rw-r--r-- | man3/endian.3 | 2 | ||||
| -rw-r--r-- | man3/get_phys_pages.3 | 2 | ||||
| -rw-r--r-- | man3/nl_langinfo.3 | 2 | ||||
| -rw-r--r-- | man3/wordexp.3 | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/man3/end.3 b/man3/end.3 index 1ee11da795..e2c74405d3 100644 --- a/man3/end.3 +++ b/man3/end.3 @@ -76,7 +76,7 @@ extern char etext, edata, end; /* The symbols must have some type, or "gcc \-Wall" complains */ int -main(int argc, char *argv[]) +main(void) { printf("First address past:\en"); printf(" program text (etext) %10p\en", &etext); diff --git a/man3/endian.3 b/man3/endian.3 index e03350b52c..6d35bd2d8d 100644 --- a/man3/endian.3 +++ b/man3/endian.3 @@ -138,7 +138,7 @@ htobe32(x.u32) = 0x11223344 #include <stdlib.h> int -main(int argc, char *argv[]) +main(void) { union { uint32_t u32; diff --git a/man3/get_phys_pages.3 b/man3/get_phys_pages.3 index c64233fc40..88e98892a4 100644 --- a/man3/get_phys_pages.3 +++ b/man3/get_phys_pages.3 @@ -77,7 +77,7 @@ can be used. #include <sys/sysinfo.h> int -main(int argc, char *argv[]) +main(void) { printf("This system has %ld pages of physical memory and " "%ld pages of physical memory available.\en", diff --git a/man3/nl_langinfo.3 b/man3/nl_langinfo.3 index ce05a606ab..47f6a3ade0 100644 --- a/man3/nl_langinfo.3 +++ b/man3/nl_langinfo.3 @@ -331,7 +331,7 @@ the radix character. #include <stdlib.h> int -main(int argc, char *argv[]) +main(void) { setlocale(LC_CTYPE, ""); setlocale(LC_NUMERIC, ""); diff --git a/man3/wordexp.3 b/man3/wordexp.3 index 262126ec66..9aac870379 100644 --- a/man3/wordexp.3 +++ b/man3/wordexp.3 @@ -225,7 +225,7 @@ is approximately that of "ls [a-c]*.c". #include <wordexp.h> int -main(int argc, char *argv[]) +main(void) { wordexp_t p; char **w; |
