]> granicus.if.org Git - graphviz/commitdiff
Remove `varargs.h` include from ast_common.h.in
authorErwin Janssen <erwinjanssen@outlook.com>
Sun, 18 Dec 2016 12:42:06 +0000 (13:42 +0100)
committerErwin Janssen <erwinjanssen@outlook.com>
Wed, 21 Dec 2016 13:54:25 +0000 (14:54 +0100)
None of the files that include ast_common.h.in, require anything from
varargs.h, compilation is still successfull.

ast_common.h.in

index 97d3d82168829731f1ead28cb8befa0c29c2c968..e294f934c4cadfc42939d319d2e5ffc9b7b1fa54 100644 (file)
 #  define _sys_stat 1
 #endif
 
-#ifdef HAVE_VARARGS_H
-#  define _hdr_varargs 1
-#endif
-
 /* FIXME - need proper config test for these */
 #define _typ_ssize_t    1      /* ssize_t is a type */
 #define _typ_long_double        1      /* long double is a type */
@@ -52,9 +48,6 @@
 #endif /*_astimport*/
 
 #ifndef _AST_STD_H
-#       if defined(_hdr_varargs)
-#       include <varargs.h>
-#       endif
 #       if defined(_sys_types)
 #       include <sys/types.h>
 #       endif