summaryrefslogtreecommitdiff
path: root/devel/cocktail/files/patch-reuse-c-StrMemDrv.c
blob: c61378f7958a252b975680526e43efc8e00f0b38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- /usr/ports/devel/cocktail/work/cocktail-9309//./reuse/c/StrMemDrv.c	Tue Feb 15 14:26:40 1994
+++ ./reuse/c/StrMemDrv.c	Fri Sep 10 13:35:03 2004
@@ -1,9 +1,12 @@
-static char rcsid [] = "$Id: StrMemDrv.c,v 1.4 1992/09/24 13:03:56 grosch rel $";
+# include <sys/cdefs.h>
+__RCSID("$Id: StrMemDrv.c,v 1.4 1992/09/24 13:03:56 grosch rel $");
 
 # include <stdio.h>
+# include <string.h>
+
 # include "StringMem.h"
 
-static void loop ()
+static void loop (void)
 {
    char string [256];
    tStringRef stringref;
@@ -19,7 +22,7 @@
    WriteStringMemory ();
 }
 
-main ()
+int main (void)
 {
    loop ();
    InitStringMemory ();