Undo all of the ugliness and some of the bloat from 15412.
[oweals/busybox.git] / coreutils / basename.c
index 71bb9b3bdbabf190458dc4d0ad5eab23d7b8386d..91652cfedf948e29678dcdfb9d10503412a55ba6 100644 (file)
@@ -2,8 +2,7 @@
 /*
  * Mini basename implementation for busybox
  *
- * Copyright (C) 1999,2000 by Lineo, inc. and Erik Andersen
- * Copyright (C) 1999,2000,2001 by Erik Andersen <andersee@debian.org>
+ * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.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
@@ -38,7 +37,7 @@
 #include <string.h>
 #include "busybox.h"
 
-extern int basename_main(int argc, char **argv)
+int basename_main(int argc, char **argv)
 {
        size_t m, n;
        char *s;