Move <stdio.h> includes out of system.h to the places that need it
This commit is contained in:
parent
71b7fb380b
commit
05b2d979e8
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "debug.h"
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
#include <sys/wait.h>
|
||||
#include <search.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(HAVE_PTHREAD_H)
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "system.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <rpm/rpmstring.h>
|
||||
#include "debug.h"
|
||||
|
|
2
system.h
2
system.h
|
@ -9,8 +9,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue