Remove building with NOCRYPTO option
[minix3.git] / lib / libwrap / mystdarg.h
blobf22969dea52117126ad9f453fd6a6d2d68cf537a
1 /* $NetBSD: mystdarg.h,v 1.2 1997/10/09 21:20:37 christos Exp $ */
3 /*
4 * What follows is an attempt to unify varargs.h and stdarg.h. I'd rather
5 * have this than #ifdefs all over the code.
6 */
8 #ifdef __STDC__
9 #include <stdarg.h>
10 #define VARARGS(func,type,arg) func(type arg, ...)
11 #define VASTART(ap,type,name) va_start(ap,name)
12 #define VAEND(ap) va_end(ap)
13 #else
14 #include <varargs.h>
15 #define VARARGS(func,type,arg) func(va_alist) va_dcl
16 #define VASTART(ap,type,name) {type name; va_start(ap); name = va_arg(ap, type)
17 #define VAEND(ap) va_end(ap);}
18 #endif