diff options
author | Roland McGrath <roland@gnu.org> | 2000-03-27 04:10:17 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2000-03-27 04:10:17 +0000 |
commit | dc310507a158f7a84983897de16c40b7b85922aa (patch) | |
tree | 04c791703098a11cd73102ff59e5da66448b8d5a /fstests | |
parent | 63fa4ac8db9aca90a1c8058e0f03f859e0749f7e (diff) |
2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
* fstests.c (main): Fix return type. #if 0 out some unused variables.
Diffstat (limited to 'fstests')
-rw-r--r-- | fstests/fstests.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/fstests/fstests.c b/fstests/fstests.c index 600eb3ef..f7e990a9 100644 --- a/fstests/fstests.c +++ b/fstests/fstests.c @@ -1,5 +1,5 @@ /* Test filesystem behavior - Copyright (C) 1993, 1994 Free Software Foundation + Copyright (C) 1993,94,2000 Free Software Foundation, Inc. This file is part of the GNU Hurd. @@ -8,7 +8,7 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. -The GNU Hurd is distributed in the hope that it will be useful, +The GNU Hurd 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. @@ -38,13 +38,13 @@ int check_refs (mach_port_t port) /* To call from gdb */ return err ? -err : refs; } -void +int main () { mach_port_t root; +#if 0 extern file_t *_hurd_init_dtable; char string[] = "Did this get into the file?\n"; -#if 0 file_t filetowrite; retry_type retry; char pathbuf[1024]; @@ -90,4 +90,6 @@ main () printf ("All done.\n"); malloc (0); + + return 0; } |