summaryrefslogtreecommitdiff
path: root/test/stat/memcmp-stat.c
diff options
context:
space:
mode:
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;