1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/cad/spice/files/patch-src_lib_mfb_mfbcaps.c
Martin Wilke 00899d7b5f - Fix build with CLANG
PR:		158270
Submitted by:	Pedro Giffuni <giffunip@tutopia.com> (maintainer)
2011-06-25 07:46:56 +00:00

23 lines
496 B
C

--- src/lib/mfb/mfbcaps.c.orig 1991-04-01 22:32:50.000000000 +0000
+++ src/lib/mfb/mfbcaps.c 2011-06-24 19:53:27.000000000 +0000
@@ -26,6 +26,7 @@
#include "spice.h"
#include "mfb.h"
#include <ctype.h>
+#include <string.h>
#include "suffix.h"
@@ -43,9 +44,9 @@
FILE *POpen();
char *strcpy();
-char *MFBSkip();
+static char *MFBSkip();
char *MFBGetStr();
-char *MFBCapDecod();
+static char *MFBCapDecod();
int MFBGetNum();
int MFBGetFlag();
int MFBGetEnt();