summaryrefslogtreecommitdiff
path: root/usr/src/cmd/format/main.h
diff options
context:
space:
mode:
authorbg159949 <none@none>2005-08-17 11:53:32 -0700
committerbg159949 <none@none>2005-08-17 11:53:32 -0700
commit052b6e8a13e1fb4be51ba482db6bb2e9833fa717 (patch)
tree2196a553b7f5da9228c4905970bc3be987b55413 /usr/src/cmd/format/main.h
parentc8393ed7bc7b32f6789bec13aa1294cff6389188 (diff)
downloadillumos-joyent-052b6e8a13e1fb4be51ba482db6bb2e9833fa717.tar.gz
6268939 cmd/addbadsec and gcc don't get along
6271029 gcc and cmd/diskscan don't get along 6271084 gcc and cmd/format don't get along
Diffstat (limited to 'usr/src/cmd/format/main.h')
-rw-r--r--usr/src/cmd/format/main.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/cmd/format/main.h b/usr/src/cmd/format/main.h
index 268ace1f42..f3801d49e8 100644
--- a/usr/src/cmd/format/main.h
+++ b/usr/src/cmd/format/main.h
@@ -21,7 +21,8 @@
*/
/*
- * Copyright (c) 1991-2001 by Sun Microsystems, Inc.
+ * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Use is subject to license terms.
*/
#ifndef _MAIN_H
@@ -36,7 +37,7 @@ extern "C" {
/*
* Prototypes for ANSI C compilers
*/
-void main(int argc, char *argv[]);
+int main(int argc, char *argv[]);
int notify_unix(void);
void init_globals(struct disk_info *disk);