diff options
author | mike <mike@FreeBSD.org> | 2002-08-21 16:20:02 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-08-21 16:20:02 +0000 |
commit | 9e6f796b0d2083dcc48c062853660f96db0a3c8d (patch) | |
tree | 7e9e16e835d265de592c113ee6c5d85f9be039cb /usr.sbin/ppp | |
parent | d5203d1ff8cef07eff72ad400fde5c759623752e (diff) | |
download | FreeBSD-src-9e6f796b0d2083dcc48c062853660f96db0a3c8d.zip FreeBSD-src-9e6f796b0d2083dcc48c062853660f96db0a3c8d.tar.gz |
o Merge <machine/ansi.h> and <machine/types.h> into a new header
called <machine/_types.h>.
o <machine/ansi.h> will continue to live so it can define MD clock
macros, which are only MD because of gratuitous differences between
architectures.
o Change all headers to make use of this. This mainly involves
changing:
#ifdef _BSD_FOO_T_
typedef _BSD_FOO_T_ foo_t;
#undef _BSD_FOO_T_
#endif
to:
#ifndef _FOO_T_DECLARED
typedef __foo_t foo_t;
#define _FOO_T_DECLARED
#endif
Concept by: bde
Reviewed by: jake, obrien
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/prompt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/prompt.h b/usr.sbin/ppp/prompt.h index 6569cd9..5d25c45 100644 --- a/usr.sbin/ppp/prompt.h +++ b/usr.sbin/ppp/prompt.h @@ -76,10 +76,10 @@ extern void prompt_Printf(struct prompt *, const char *, ...) extern void prompt_Printf(struct prompt *, const char *, ...); #endif #ifdef __GNUC__ -extern void prompt_vPrintf(struct prompt *, const char *, _BSD_VA_LIST_) +extern void prompt_vPrintf(struct prompt *, const char *, __va_list) __attribute__ ((format (printf, 2, 0))); #else -extern void prompt_vPrintf(struct prompt *, const char *, _BSD_VA_LIST_); +extern void prompt_vPrintf(struct prompt *, const char *, __va_list); #endif #define PROMPT_DONT_WANT_INT 1 #define PROMPT_WANT_INT 0 |