implemented numeric sort (sort -g)
[oweals/busybox.git] / update.c
index f3b7fc0c89e496f62aac2c94ffa7d7df71815d69..5a7c755ffba3c990363b757b8031a132f69a1232 100644 (file)
--- a/update.c
+++ b/update.c
@@ -1,10 +1,28 @@
+/*
+ * Mini update implementation for busybox
+ *
+ *
+ * Copyright (C) 1995, 1996 by Bruce Perens <bruce@pixar.com>.
+ *
+ * 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 "internal.h"
 #include <linux/unistd.h>
 
-const char     update_usage[] = "update\n"
-"\n"
-"\tFlush buffered data to the disk devices every 30 seconds.\n";
-
 #if defined(__GLIBC__)
 #include <sys/kdaemon.h>
 #else
@@ -12,7 +30,7 @@ _syscall2(int, bdflush, int, func, int, data);
 #endif /* __GLIBC__ */
 
 extern int
-update_main(struct FileInfo * i, int argc, char * * argv)
+update_main(int argc, char** argv)
 {
        /*
         * Update is actually two daemons, bdflush and update.