summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/vms/ndir.c
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1998-02-22 08:23:05 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1998-02-22 08:23:05 +0000
commit8996000ce3abfb3bf3ba9371f93dbb36605526e6 (patch)
tree18978064e57450121f0e4877713ae12ee2980e3e /gnu/usr.bin/cvs/vms/ndir.c
parent8b617ad77948342faf0917e268e4d001047fec35 (diff)
Latest version from Cyclic
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 */