diff options
author | Dan McGee <dan@archlinux.org> | 2007-07-12 15:20:43 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-07-12 15:20:43 -0400 |
commit | 20f73d6299c08fa79c2c8edd3d1955e208e701cb (patch) | |
tree | 470b4e84b81009aaaf318c04cee3fa1dcb1e2b53 /lib/libalpm/versioncmp.h | |
parent | 653fb8fe036363dfb550785c45adcf26f6fcbfbc (diff) |
Remove versioncmp.{c,h}, clean up selective #ifdefs
Remove versioncmp.c by moving all functions to locations that make sense.
Move replacement functions (for building without glibc) into util.c where
they belong, and do proper checks for them instead of using __sun__, etc.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/versioncmp.h')
-rw-r--r-- | lib/libalpm/versioncmp.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/lib/libalpm/versioncmp.h b/lib/libalpm/versioncmp.h deleted file mode 100644 index 13a2d5a7..00000000 --- a/lib/libalpm/versioncmp.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * versioncmp.h - * - * Copyright (c) 2005 by Judd Vinet <jvinet@zeroflux.org> - * Copyright (c) 2005 by Aurelien Foret <orelien@chez.com> - * Copyright (c) 2005, 2006 by Miklos Vajna <vmiklos@frugalware.org> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, - * USA. - */ -#ifndef _ALPM_VERSIONCMP_H -#define _ALPM_VERSIONCMP_H - -#include "deps.h" -#include "package.h" - -int _alpm_versioncmp(const char *a, const char *b); - -#endif /* _ALPM_VERSIONCMP_H */ - -/* vim: set ts=2 sw=2 noet: */ |