Clean up unnecessary headers and macros from alpm.c

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2007-06-05 17:32:53 -04:00
parent d8e88aa017
commit 4906b76c85

View file

@ -1,7 +1,7 @@
/* /*
* alpm.c * 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 Aurelien Foret <orelien@chez.com>
* Copyright (c) 2005 by Christian Hamar <krics@linuxforum.hu> * Copyright (c) 2005 by Christian Hamar <krics@linuxforum.hu>
* Copyright (c) 2005, 2006 by Miklos Vajna <vmiklos@frugalware.org> * Copyright (c) 2005, 2006 by Miklos Vajna <vmiklos@frugalware.org>
@ -24,13 +24,6 @@
#include "config.h" #include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <limits.h> /* PATH_MAX */
#include <stdarg.h>
/* libalpm */ /* libalpm */
#include "alpm.h" #include "alpm.h"
#include "alpm_list.h" #include "alpm_list.h"
@ -38,8 +31,6 @@
#include "handle.h" #include "handle.h"
#include "util.h" #include "util.h"
#define min(X, Y) ((X) < (Y) ? (X) : (Y))
/* Globals */ /* Globals */
pmhandle_t *handle = NULL; pmhandle_t *handle = NULL;
enum _pmerrno_t pm_errno SYMEXPORT; enum _pmerrno_t pm_errno SYMEXPORT;