summaryrefslogtreecommitdiff
path: root/miscutils/update.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/update.c')
-rw-r--r--miscutils/update.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/miscutils/update.c b/miscutils/update.c
index f3b7fc0..3a8cd37 100644
--- a/miscutils/update.c
+++ b/miscutils/update.c
@@ -1,10 +1,6 @@
#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 +8,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.