aboutsummaryrefslogtreecommitdiff
path: root/devel/cocktail/files/patch-reuse-c-rMemory.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cocktail/files/patch-reuse-c-rMemory.h')
-rw-r--r--devel/cocktail/files/patch-reuse-c-rMemory.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/cocktail/files/patch-reuse-c-rMemory.h b/devel/cocktail/files/patch-reuse-c-rMemory.h
new file mode 100644
index 000000000000..6ebe7a15bb35
--- /dev/null
+++ b/devel/cocktail/files/patch-reuse-c-rMemory.h
@@ -0,0 +1,21 @@
+--- /usr/ports/devel/cocktail/work/cocktail-9309//./reuse/c/rMemory.h Tue Feb 15 14:26:42 1994
++++ ./reuse/c/rMemory.h Fri Sep 10 13:35:03 2004
+@@ -31,15 +31,17 @@
+
+ # ifdef __STDC__
+ # define ARGS(parameters) parameters
++# define NOARGS void
+ # else
+ # define ARGS(parameters) ()
++# define NOARGS
+ # endif
+
+ extern unsigned long MemoryUsed ;
+ /* Holds the total amount of memory managed by */
+ /* this module. */
+
+-extern void InitrMemory ();
++extern void InitrMemory (NOARGS);
+ /* The memory module is initialized. */
+
+ extern char * Alloc ARGS((register unsigned long ByteCount));