aboutsummaryrefslogtreecommitdiff
path: root/dirent/tst-seekdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'dirent/tst-seekdir.c')
-rw-r--r--dirent/tst-seekdir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dirent/tst-seekdir.c b/dirent/tst-seekdir.c
index 3022783..f12b13f 100644
--- a/dirent/tst-seekdir.c
+++ b/dirent/tst-seekdir.c
@@ -3,7 +3,7 @@
#include <stdlib.h>
int
-main ()
+main (int argc, char *argv[])
{
DIR * dirp;
@@ -31,7 +31,7 @@ main ()
/* go back to saved entry */
seekdir (dirp, save3);
-
+
/* print remaining files (3-last) */
for (dp = readdir(dirp); dp != NULL; dp = readdir(dirp))
printf("%s\n", dp->d_name);