summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-nextstep.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-02-13 02:18:50 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-02-13 02:18:50 +0000
commit6c92dab9a1ab05426b42d7cc5dca2a9c5af52f1d (patch)
tree5eae8c7241792412ee31951e9404fe4f21770050 /openbsd-compat/bsd-nextstep.h
parentd8ab0d4a852e00ab9e46c7147d887b0b038d7d43 (diff)
- (bal) Cleaned out bsd-snprintf.c. VARARGS have been banished and
I did a base KNF over the whe whole file to make it more acceptable. (backed out of original patch and removed it from ChangeLog) This has been a long time coming. If we decide that we need VARARGS support we should do it at a higher level, since no where else do we support VARARGS in the code base.
Diffstat (limited to 'openbsd-compat/bsd-nextstep.h')
-rw-r--r--openbsd-compat/bsd-nextstep.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/openbsd-compat/bsd-nextstep.h b/openbsd-compat/bsd-nextstep.h
index 120a66058..1121d4d16 100644
--- a/openbsd-compat/bsd-nextstep.h
+++ b/openbsd-compat/bsd-nextstep.h
@@ -21,7 +21,7 @@
21 * 21 *
22 */ 22 */
23 23
24/* $Id: bsd-nextstep.h,v 1.3 2001/02/12 15:57:18 mouring Exp $ */ 24/* $Id: bsd-nextstep.h,v 1.4 2001/02/13 02:18:50 mouring Exp $ */
25 25
26#ifndef _NEXT_POSIX_H 26#ifndef _NEXT_POSIX_H
27#define _NEXT_POSIX_H 27#define _NEXT_POSIX_H
@@ -29,12 +29,6 @@
29#ifdef HAVE_NEXT 29#ifdef HAVE_NEXT
30#include <sys/dir.h> 30#include <sys/dir.h>
31 31
32/*
33 * Temporary hack to let bsd-snprintf.c work. bsd-snprintf.c really
34 * needs to be cleaned up.
35 */
36#define HAVE_STDARG_H 1
37
38/* NeXT's readdir() is BSD (struct direct) not POSIX (struct dirent) */ 32/* NeXT's readdir() is BSD (struct direct) not POSIX (struct dirent) */
39#define dirent direct 33#define dirent direct
40 34