Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Remove more includes
Baptiste Daroussin committed 11 years ago
commit 2c988939a8d9eeea69e3aa0280f32e4786648ff7
parent 32cd125
4 files changed +0 -29
modified libpkg/pkg_checksum.c
@@ -22,20 +22,10 @@
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

-
#include <sys/types.h>
-
#include <sys/sbuf.h>
-

#include <assert.h>
-
#include <ctype.h>
-
#include <errno.h>
-
#include <stdbool.h>
-
#include <stdlib.h>
-
#include <string.h>
-
#include <ucl.h>

#include "pkg.h"
#include "private/pkg.h"
-
#include "private/utils.h"
#include "private/event.h"

struct pkg_checksum_entry {
modified libpkg/pkg_config.c
@@ -31,22 +31,15 @@

#include <assert.h>
#include <sys/socket.h>
-
#include <sys/utsname.h>
#include <sys/un.h>
#include <ctype.h>
#include <dirent.h>
#include <dlfcn.h>
-
#include <err.h>
#include <errno.h>
#include <fcntl.h>
-
#include <limits.h>
#ifdef HAVE_OSRELDATE_H
#include <osreldate.h>
#endif
-
#include <pthread.h>
-
#include <stdlib.h>
-
#include <string.h>
-
#include <sysexits.h>
#include <ucl.h>

#include "pkg.h"
modified libpkg/pkg_create.c
@@ -27,14 +27,10 @@
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

-
#include <sys/param.h>
#include <sys/stat.h>

-
#include <assert.h>
#include <errno.h>
#include <regex.h>
-
#include <stdlib.h>
-
#include <string.h>
#include <fcntl.h>

#include "pkg.h"
modified libpkg/pkg_cudf.c
@@ -24,14 +24,6 @@
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

-
#include <sys/param.h>
-
#include <sys/mount.h>
-

-
#include <assert.h>
-
#include <errno.h>
-
#include <stdbool.h>
-
#include <stdlib.h>
-
#include <string.h>
#define _WITH_GETLINE
#include <stdio.h>
#include <ctype.h>