Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libz declare __P if missing
details: https://anonhg.NetBSD.org/src/rev/ede1d24274ac
branches: trunk
changeset: 501860:ede1d24274ac
user: itojun <itojun%NetBSD.org@localhost>
date: Mon Jan 08 14:53:19 2001 +0000
description:
declare __P if missing
diffstat:
lib/libz/zconf.h | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (28 lines):
diff -r 21cc8d2dfa41 -r ede1d24274ac lib/libz/zconf.h
--- a/lib/libz/zconf.h Mon Jan 08 14:48:19 2001 +0000
+++ b/lib/libz/zconf.h Mon Jan 08 14:53:19 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: zconf.h,v 1.9 2001/01/08 14:48:22 itojun Exp $ */
+/* $NetBSD: zconf.h,v 1.10 2001/01/08 14:53:19 itojun Exp $ */
/* zconf.h -- configuration of the zlib compression library
* Copyright (C) 1995-1998 Jean-loup Gailly.
@@ -137,15 +137,13 @@
/* Type declarations */
-#ifndef __NetBSD__
-#ifndef OF /* function prototypes */
+#ifndef __P /* function prototypes */
# ifdef STDC
-# define OF(args) args
+# define __P(args) args
# else
-# define OF(args) ()
+# define __P(args) ()
# endif
#endif
-#endif
/* The following definitions for FAR are needed only for MSDOS mixed
* model programming (small or medium model with some far allocations).
Home |
Main Index |
Thread Index |
Old Index