summaryrefslogtreecommitdiff
path: root/test/stat/memcmp-stat.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-29 02:56:45 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-29 02:56:45 +0000
commit92a56f367e6635bebf4e519a49943c15d2981d85 (patch)
tree8d0cc34ab7791579c5e7979bc09b5ede8b1bc7be /test/stat/memcmp-stat.c
parent55aaeb574609ff7fb7ac93ce4ffe01be0a56f5b7 (diff)
fixup prototype warnings
Diffstat (limited to 'test/stat/memcmp-stat.c')
-rw-r--r--test/stat/memcmp-stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/stat/memcmp-stat.c b/test/stat/memcmp-stat.c
index 3e0143e94..c38e3ff88 100644
--- a/test/stat/memcmp-stat.c
+++ b/test/stat/memcmp-stat.c
@@ -18,7 +18,7 @@
#include <assert.h>
#include <time.h>
-void show_stat(struct stat *st)
+static void show_stat(struct stat *st)
{
printf(
"------------------\n"
@@ -66,7 +66,7 @@ void show_stat(struct stat *st)
);
}
-int main()
+int main(void)
{
int ret;
int fd;