summaryrefslogtreecommitdiff
path: root/archivers/lha/files/patch-lhdir.h
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/lha/files/patch-lhdir.h')
-rw-r--r--archivers/lha/files/patch-lhdir.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/archivers/lha/files/patch-lhdir.h b/archivers/lha/files/patch-lhdir.h
new file mode 100644
index 000000000000..a9454c38c31e
--- /dev/null
+++ b/archivers/lha/files/patch-lhdir.h
@@ -0,0 +1,12 @@
+--- src/lhdir.h.orig 2000-10-04 14:57:38 UTC
++++ src/lhdir.h
+@@ -30,6 +30,6 @@ typedef struct {
+ /* ------------------------------------------------------------------------ */
+ /* Functions */
+ /* ------------------------------------------------------------------------ */
+-extern DIR *opendir();
+-extern struct direct *readdir();
+-extern int closedir();
++extern DIR *opendir(char *name);
++extern struct direct *readdir(register DIR *dirp);
++extern int closedir(DIR *dirp);