stop fucking around with prototypes

This commit is contained in:
espie 2010-05-22 20:55:55 +00:00
parent 0ef68eeca0
commit 4623b45c3c
2 changed files with 21 additions and 8 deletions

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Imakefile,v 1.2 2004/01/01 15:20:21 espie Exp $
--- Imakefile.orig 1993-01-21 21:27:31.000000000 +0100
+++ Imakefile 2004-01-01 16:15:19.000000000 +0100
$OpenBSD: patch-Imakefile,v 1.3 2010/05/22 20:55:55 espie Exp $
--- Imakefile.orig Thu Jan 21 21:27:31 1993
+++ Imakefile Sat May 22 17:01:29 2010
@@ -1,43 +1,19 @@
-/**/# static char* sccs_imake = "%W%%G%";
-/**/# Imakefile,v 1 25 June 1991
@ -15,7 +15,8 @@ $OpenBSD: patch-Imakefile,v 1.2 2004/01/01 15:20:21 espie Exp $
-/**/# Here's what to change to customize the installation...
-/**/# Where do you want this stuff (if the defaults aren't okay)?
-
+XCOMM Nothing to change below here
-BINDIR = /home/cur/bri/bin/mbins/${M}bin
-LIBDIR = /home/cur/bri/lib
-MANDIR = /home/cur/bri/Man
@ -34,8 +35,7 @@ $OpenBSD: patch-Imakefile,v 1.2 2004/01/01 15:20:21 espie Exp $
-CDEBUGFLAGS = -g
-
-/**/# Nothing to change below here
+XCOMM Nothing to change below here
-
DEPLIBS = XawClientDepLibs
-EXTRA_INCLUDES = -I$(XPM_INCLUDE_DIR)
-LOCAL_LIBRARIES = -L$(XPM_LIB_DIR) -lXpm XawClientLibs

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-gen_h,v 1.1 2001/04/17 14:57:12 naddy Exp $
$OpenBSD: patch-gen_h,v 1.2 2010/05/22 20:55:55 espie Exp $
--- gen.h.orig Thu Jan 21 21:27:33 1993
+++ gen.h Tue Apr 17 16:26:58 2001
+++ gen.h Sat May 22 22:54:27 2010
@@ -11,11 +11,11 @@ static char* sccs_gen_h = "%W%%G%";
#include <X11/Xaw/MenuButton.h>
#include <X11/Shell.h>
@ -25,3 +25,16 @@ $OpenBSD: patch-gen_h,v 1.1 2001/04/17 14:57:12 naddy Exp $
#define HELP_VIEWER " " /* viewer for help file */
#define MAXPROCS 20
@@ -76,9 +76,9 @@ typedef struct c_id{
ChildInfo ci_ptr[MAXPROCS];
-/* forward declarations */
-int fprintf(), ungetc(), fclose(), fscanf();
-char *strcpy(), *getenv(), *malloc();
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
typedef int bool_t;