Print this page
remove support for non-ANSI compilation

*** 22,31 **** --- 22,33 ---- /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_VA_LIST_H
*** 74,95 **** #define __va_alist_type long #else #define __va_alist_type int #endif - #if defined(__STDC__) /* source language is ISO C or C++ */ - #define __va_void(expr) ((void)expr) #define __va_ptr_base void - #else /* source language is K&R C */ - - #define __va_void(expr) expr - #define __va_ptr_base char - - #endif /* __STDC__ */ - #if defined(__BUILTIN_VA_STRUCT) && !defined(__lint) /* -------- protocol */ #if defined(__amd64) /* processor */ typedef struct __va_list_element { --- 76,88 ----