summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/patch/common.h')
-rw-r--r--usr.bin/patch/common.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/patch/common.h b/usr.bin/patch/common.h
index 96421b22d50..adfe4ac4e42 100644
--- a/usr.bin/patch/common.h
+++ b/usr.bin/patch/common.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.h,v 1.4 1996/09/24 02:58:53 millert Exp $ */
+/* $OpenBSD: common.h,v 1.5 1996/09/24 04:19:25 millert Exp $ */
#define DEBUGGING
@@ -16,7 +16,7 @@
#define Close (void)close
#define Fclose (void)fclose
#define Fflush (void)fflush
-#define Sprintf (void)sprintf
+#define Snprintf (void)snprintf
#define Strcpy (void)strcpy
#define Strcat (void)strcat
@@ -82,8 +82,6 @@
#define strnNE(s1,s2,l) (strncmp(s1, s2, l))
#define strnEQ(s1,s2,l) (!strncmp(s1, s2, l))
-#define Mkstemp mkstemp
-
/* typedefs */
typedef char bool;
@@ -172,9 +170,9 @@ char *rindex();
int mkstemp();
#if 0 /* This can cause a prototype conflict. */
#ifdef CHARSPRINTF
-char *sprintf();
+char *snprintf();
#else
-int sprintf();
+int snprintf();
#endif
#endif