summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/patch/common.h
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2002-04-28 01:33:45 +0000
committergad <gad@FreeBSD.org>2002-04-28 01:33:45 +0000
commitb200c6709f032c3ceaac65a061b2f1198173bd0c (patch)
tree7f720dcbd2c5958c3ebe9655a3d746b461a5aac7 /gnu/usr.bin/patch/common.h
parent69091a8284855bbf8bc967d6baf599b1fbc7f077 (diff)
downloadFreeBSD-src-b200c6709f032c3ceaac65a061b2f1198173bd0c.zip
FreeBSD-src-b200c6709f032c3ceaac65a061b2f1198173bd0c.tar.gz
Add many prototypes and ANSI-ize 'patch. Not a complete job of it, but it gets
our patch to look a little more like NetBSD's, and has the nice characteristic that the object code is exactly the same after the change as before it (even in patch.c and pch.c, which have pesky 'assert' statements in them). Reviewed by: /sbin/md5 on i386, alpha, sparc64 MFC after: 3 days
Diffstat (limited to 'gnu/usr.bin/patch/common.h')
-rw-r--r--gnu/usr.bin/patch/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/patch/common.h b/gnu/usr.bin/patch/common.h
index 161dad0..5267e17 100644
--- a/gnu/usr.bin/patch/common.h
+++ b/gnu/usr.bin/patch/common.h
@@ -172,7 +172,7 @@ char *getenv();
char *strcpy();
char *strcat();
#endif
-char *mktemp();
+char *mktemp(char *);
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#else
OpenPOWER on IntegriCloud