summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/vms/ndir.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cvs/vms/ndir.c')
-rw-r--r--gnu/usr.bin/cvs/vms/ndir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/cvs/vms/ndir.c b/gnu/usr.bin/cvs/vms/ndir.c
index a9758eae1dd..99c85121190 100644
--- a/gnu/usr.bin/cvs/vms/ndir.c
+++ b/gnu/usr.bin/cvs/vms/ndir.c
@@ -181,7 +181,7 @@ opendir (infilename, filepattern)
return (DIR *) dirp; /* I had to cast, for VMS sake. */
}
-void
+int
closedir (dirp)
register DIR *dirp; /* stream from opendir */
{
@@ -195,6 +195,7 @@ closedir (dirp)
}
xfree ((char *) dirp);
+ return 0;
}
struct direct dir_static; /* simulated directory contents */