summaryrefslogtreecommitdiffstats
path: root/src/vercmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vercmp.c')
-rw-r--r--src/vercmp.c24
1 files changed, 22 insertions, 2 deletions
diff --git a/src/vercmp.c b/src/vercmp.c
index 850ebea6..43f8deab 100644
--- a/src/vercmp.c
+++ b/src/vercmp.c
@@ -1,7 +1,27 @@
+/*
+ * pacman
+ *
+ * Copyright (c) 2002 by Judd Vinet <jvinet@zeroflux.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.
+ */
+
#include <stdio.h>
#include <string.h>
-
-int rpmvercmp(const char *a, const char *b);
+#include "rpmvercmp.h"
int main(int argc, char *argv[])
{