summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-06-05 17:32:53 -0400
committerDan McGee <dan@archlinux.org>2007-06-05 17:32:53 -0400
commit4906b76c85bc93c4a86dfa8449d58b55ede30425 (patch)
treee0bd0e15e040cde3be035a5cbb59d2a45f8954e5 /lib
parentd8e88aa0175fd950d007578ea0690952f49247f1 (diff)
downloadpacman-4906b76c85bc93c4a86dfa8449d58b55ede30425.tar.xz
Clean up unnecessary headers and macros from alpm.c
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/alpm.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c
index 135ac373..3b4a089c 100644
--- a/lib/libalpm/alpm.c
+++ b/lib/libalpm/alpm.c
@@ -1,7 +1,7 @@
/*
* alpm.c
*
- * Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.org>
+ * Copyright (c) 2002-2007 by Judd Vinet <jvinet@zeroflux.org>
* Copyright (c) 2005 by Aurelien Foret <orelien@chez.com>
* Copyright (c) 2005 by Christian Hamar <krics@linuxforum.hu>
* Copyright (c) 2005, 2006 by Miklos Vajna <vmiklos@frugalware.org>
@@ -24,13 +24,6 @@
#include "config.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-#include <limits.h> /* PATH_MAX */
-#include <stdarg.h>
-
/* libalpm */
#include "alpm.h"
#include "alpm_list.h"
@@ -38,8 +31,6 @@
#include "handle.h"
#include "util.h"
-#define min(X, Y) ((X) < (Y) ? (X) : (Y))
-
/* Globals */
pmhandle_t *handle = NULL;
enum _pmerrno_t pm_errno SYMEXPORT;