1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/devel/cocktail/files/patch-reuse-m2c-StringMem.h
Edwin Groothuis 8937ed4066 [PORT UPGRADE] devel/cocktail corrected for 64bits compilation
The orignal port only ran on i386, since there were some
	64bit conversion problems. The included tar file replaces
	the compete devel/cocktail tree currently in the ports tree.

(lots of patches!)

PR:		ports/71940
Submitted by:	Willem Jan Withagen <wjw@withagen.nl>
2004-12-15 04:05:34 +00:00

23 lines
843 B
C

--- /usr/ports/devel/cocktail/work/cocktail-9309//./reuse/m2c/StringMem.h Tue Feb 15 14:26:52 1994
+++ ./reuse/m2c/StringMem.h Thu Aug 5 18:49:33 2004
@@ -1,5 +1,9 @@
#define DEFINITION_StringMem
+#ifndef DEFINITION_SYSTEM_
+#include "SYSTEM_.h"
+#endif
+
#ifndef DEFINITION_IO
#include "IO.h"
#endif
@@ -14,6 +18,6 @@
extern CARDINAL StringMem_Length ARGS((StringMem_tStringRef r));
extern BOOLEAN StringMem_IsEqual ARGS((StringMem_tStringRef r, Strings_tString *s));
extern void StringMem_WriteString ARGS((IO_tFile f, StringMem_tStringRef r));
-extern void StringMem_WriteStringMemory ARGS(());
-extern void StringMem_InitStringMemory ARGS(());
-extern void BEGIN_StringMem();
+extern void StringMem_WriteStringMemory ARGS((NOARGS));
+extern void StringMem_InitStringMemory ARGS((NOARGS));
+extern void BEGIN_StringMem(NOARGS);