summaryrefslogtreecommitdiff
path: root/usr/src/cmd/allocate/mkdevmaps.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/allocate/mkdevmaps.c')
-rw-r--r--usr/src/cmd/allocate/mkdevmaps.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/src/cmd/allocate/mkdevmaps.c b/usr/src/cmd/allocate/mkdevmaps.c
index 76d9ef9d95..f4167ebf2c 100644
--- a/usr/src/cmd/allocate/mkdevmaps.c
+++ b/usr/src/cmd/allocate/mkdevmaps.c
@@ -20,7 +20,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 1992-2003 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -121,8 +121,8 @@ static void initmem();
static int expandmem(int, void **, int);
static void no_memory(void);
-void
-main()
+int
+main(void)
{
(void) setlocale(LC_ALL, "");
(void) textdomain(TEXT_DOMAIN);
@@ -133,6 +133,8 @@ main()
doaudio(); /* do audio */
dofloppy(); /* do floppy */
docd(); /* do cd */
+
+ return (0);
}
static void