mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
Remove unnecessary and extra includes
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
19f66083f0
commit
cd3a636813
@ -31,15 +31,8 @@
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
#if defined(__APPLE__) || defined(__OpenBSD__)
|
||||
#include <sys/syslimits.h>
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
#include <dirent.h>
|
||||
#include <regex.h>
|
||||
#ifdef CYGWIN
|
||||
#include <limits.h> /* PATH_MAX */
|
||||
#endif
|
||||
|
||||
/* libalpm */
|
||||
#include "db.h"
|
||||
|
@ -31,14 +31,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#if defined(__APPLE__) || defined(__OpenBSD__)
|
||||
#include <sys/syslimits.h>
|
||||
#endif
|
||||
#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__sun__)
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
|
||||
/* libalpm */
|
||||
#include "remove.h"
|
||||
|
@ -39,7 +39,6 @@
|
||||
#include "alpm.h"
|
||||
#include "util.h"
|
||||
#include "handle.h"
|
||||
#include "log.h"
|
||||
#include "package.h"
|
||||
|
||||
/** Fetch a remote pkg.
|
||||
|
@ -47,11 +47,9 @@
|
||||
#include "util.h"
|
||||
#include "versioncmp.h"
|
||||
#include "handle.h"
|
||||
#include "util.h"
|
||||
#include "alpm.h"
|
||||
#include "md5.h"
|
||||
#include "sha1.h"
|
||||
#include "handle.h"
|
||||
#include "server.h"
|
||||
|
||||
pmsyncpkg_t *_alpm_sync_new(int type, pmpkg_t *spkg, void *data)
|
||||
|
Loading…
Reference in New Issue
Block a user