pkgsrc/graphics/xart/patches/patch-ad

24 lines
663 B
Text
Raw Normal View History

2011-12-05 23:48:58 +01:00
$NetBSD: patch-ad,v 1.3 2011/12/05 22:48:59 joerg Exp $
1998-08-07 12:35:47 +02:00
Fix PR 5746 by Benjamin Lorenz <lorenz@ps.uni-sb.de>.
2011-12-05 23:48:58 +01:00
--- misc.h.orig 1998-03-07 21:36:05.000000000 +0000
+++ misc.h
@@ -24,7 +24,7 @@ long random(void);
#ifndef linux
#if defined(BSD4_4) || defined(HPArchitecture) || defined(SGIArchitecture) || defined(_AIX)
-void srandom(unsigned int);
+/* void srandom(unsigned int); */
#else
int srandom(unsigned int);
#endif /* BSD4_4 */
2011-12-05 23:48:58 +01:00
@@ -97,7 +97,6 @@ void HelpInit(Widget top);
void GetDefaultWH(int *w, int *h);
char *GetDefaultRC(void);
void SetIconImage(Widget w);
-void main(int argc, char *argv[]);
/* misc.c */
Widget GetToplevel(Widget w);