Move <stdio.h> includes out of system.h to the places that need it

This commit is contained in:
Panu Matilainen 2010-01-05 16:06:02 +02:00
parent 71b7fb380b
commit 05b2d979e8
5 changed files with 3 additions and 15 deletions

View File

@ -6,6 +6,7 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "debug.h"

View File

@ -9,6 +9,7 @@
#include <sys/wait.h>
#include <search.h>
#include <errno.h>
#include <stdio.h>
#if defined(HAVE_PTHREAD_H)

View File

@ -5,6 +5,7 @@
#include "system.h"
#include <stdarg.h>
#include <stdio.h>
#include <rpm/rpmstring.h>
#include "debug.h"

View File

@ -9,8 +9,6 @@
#include "config.h"
#endif
#include <stdio.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif

View File

@ -50,20 +50,7 @@ marc@redhat.com and ewt@redhat.com.
*/
#include "system.h"
/*
these includes are for my use, rpm will use #include "system.h"*
*/
/*
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <netinet/in.h>
*/
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>