From 613d8ebe5d0040a4a2679d9a45a20c4c54ef54c3 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 2 Sep 1996 01:51:48 +0000 Subject: (argp_program_version): New variable. (main): Call argp_parse with just a doc string. : New include. --- utils/sync.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/sync.c b/utils/sync.c index bce972e8..3a10cc1b 100644 --- a/utils/sync.c +++ b/utils/sync.c @@ -1,5 +1,5 @@ /* Call sync synchronously. - Copyright (C) 1994, 1995 Free Software Foundation, Inc. + Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. Written by Michael I. Bushnell. This file is part of the GNU Hurd. @@ -19,10 +19,16 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include +#include + +char *argp_program_version = "sync 1.0 (GNU " HURD_RELEASE ")"; int -main () +main (int argc, char *argv[]) { + struct argp argp = + {0, 0, 0, "Force all pending disk writes to be done immediately"}; + argp_parse (&argp, argc, argv, 0, 0, 0); __USEPORT (CRDIR, __file_syncfs (port, 1, 1)); return 0; } -- cgit v1.2.3