tweaks: move an include to the file that actually makes use of it

Well, it will compile even without that include.  :|
I don't know why, since it does use va_list.
master
Benno Schulenberg 2017-07-11 17:19:54 +02:00
parent 78bc8b698c
commit 092174dad5
2 changed files with 1 additions and 2 deletions

View File

@ -21,6 +21,7 @@
#include "proto.h" #include "proto.h"
#include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>

View File

@ -48,8 +48,6 @@
#include <sys/param.h> #include <sys/param.h>
#endif #endif
#include <stdarg.h>
/* Suppress warnings for __attribute__((warn_unused_result)). */ /* Suppress warnings for __attribute__((warn_unused_result)). */
#define IGNORE_CALL_RESULT(call) do { if (call) {} } while(0) #define IGNORE_CALL_RESULT(call) do { if (call) {} } while(0)