openbsd-ports/cad/spice/patches/patch-src_lib_mfb_mfbcaps_c

29 lines
742 B
Plaintext

$OpenBSD: patch-src_lib_mfb_mfbcaps_c,v 1.1 2010/05/09 17:50:26 espie Exp $
--- src/lib/mfb/mfbcaps.c.orig Tue Apr 2 00:32:50 1991
+++ src/lib/mfb/mfbcaps.c Sun May 9 19:46:15 2010
@@ -26,6 +26,7 @@ Author: -C- 1982 Giles Billingsley
#include "spice.h"
#include "mfb.h"
#include <ctype.h>
+#include <string.h>
#include "suffix.h"
@@ -43,14 +44,14 @@ static int hopcount; /* detect infinite loops in
FILE *POpen();
char *strcpy();
-char *MFBSkip();
char *MFBGetStr();
-char *MFBCapDecod();
int MFBGetNum();
int MFBGetFlag();
int MFBGetEnt();
int MFBCheckForMCE();
+static char *MFBSkip(char *);
+static char *MFBCapDecod(char *, char **);
/*
* Get an entry for terminal name in buffer bp,