From 2322909703eb2f30ac0ef7273420f13c5f61410b Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 16 Nov 2007 20:18:45 -0600 Subject: War on whitespace Run the kernel's cleanfile script on all of our source files. Signed-off-by: Dan McGee --- src/util/testdb.c | 6 +++--- src/util/testpkg.c | 6 +++--- src/util/vercmp.c | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/util') diff --git a/src/util/testdb.c b/src/util/testdb.c index d559bd7b..ca10dd9f 100644 --- a/src/util/testdb.c +++ b/src/util/testdb.c @@ -2,7 +2,7 @@ * testdb.c : Test a pacman local database for validity * * Copyright (c) 2007 by Aaron Griffin - * + * * 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 @@ -15,7 +15,7 @@ * * 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, + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. */ @@ -68,7 +68,7 @@ static int db_test(char *dbpath) int ret = 0; DIR *dir; - + if(!(dir = opendir(dbpath))) { fprintf(stderr, "error : %s : %s\n", dbpath, strerror(errno)); return(1); diff --git a/src/util/testpkg.c b/src/util/testpkg.c index d2679e58..d724bb8a 100644 --- a/src/util/testpkg.c +++ b/src/util/testpkg.c @@ -2,7 +2,7 @@ * testpkg.c : Test a pacman package for validity * * Copyright (c) 2007 by Aaron Griffin - * + * * 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 @@ -15,7 +15,7 @@ * * 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, + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. */ @@ -65,7 +65,7 @@ int main(int argc, char **argv) alpm_pkg_free(pkg); retval = 0; } - + if(alpm_release() == -1) { fprintf(stderr, "error releasing alpm: %s\n", alpm_strerrorlast()); } diff --git a/src/util/vercmp.c b/src/util/vercmp.c index f1efd85a..29ab121d 100644 --- a/src/util/vercmp.c +++ b/src/util/vercmp.c @@ -1,8 +1,8 @@ /* * vercmp.c - * + * * Copyright (c) 2002-2005 by Judd Vinet - * + * * 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 @@ -15,7 +15,7 @@ * * 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, + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. */ @@ -66,7 +66,7 @@ int main(int argc, char *argv[]) printf("0\n"); return(0); } - + ret = alpm_pkg_vercmp(s1, s2); printf("%d\n", ret); return(ret); -- cgit v1.2.3-54-g00ecf