diff options
author | Ken Foskey <waratah@openoffice.org> | 2003-01-13 13:28:09 +0000 |
---|---|---|
committer | Ken Foskey <waratah@openoffice.org> | 2003-01-13 13:28:09 +0000 |
commit | 0634d662e96dcc45752a5fdb69a3e6345a7402e9 (patch) | |
tree | c0f32f55a0ed97529f2337c7674c8827f0310132 /dmake/mac | |
parent | ff7151bf4bbb735963eeffe55eca7b7b41d00097 (diff) |
dmake: Remove the incorrect definition of main to void
Diffstat (limited to 'dmake/mac')
-rw-r--r-- | dmake/mac/main.c | 6 | ||||
-rw-r--r-- | dmake/mac/public.h | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/dmake/mac/main.c b/dmake/mac/main.c index 53cc7d7cd9fe..da718e8b3cf0 100644 --- a/dmake/mac/main.c +++ b/dmake/mac/main.c @@ -1,4 +1,4 @@ -/* RCS $Id: main.c,v 1.1.1.1 2000-09-22 15:33:27 hr Exp $ +/* RCS $Id: main.c,v 1.2 2003-01-13 14:27:58 waratah Exp $ -- -- SYNOPSIS -- The real main function @@ -37,7 +37,7 @@ * Put envp in environ and call dmake's main(). */ #undef main -void main(int argc, char **argv, char **envp) { +int main(int argc, char **argv, char **envp) { environ = envp; dmakemain (argc, argv); -} /* void main () */ +} /* int main () */ diff --git a/dmake/mac/public.h b/dmake/mac/public.h index 31cc8fa62d49..73ea3568a342 100644 --- a/dmake/mac/public.h +++ b/dmake/mac/public.h @@ -1,4 +1,4 @@ -/* RCS $Id: public.h,v 1.1.1.1 2000-09-22 15:33:27 hr Exp $ +/* RCS $Id: public.h,v 1.2 2003-01-13 14:27:58 waratah Exp $ -- WARNING -- This file is AUTOMATICALLY GENERATED DO NOT EDIT IT -- -- @@ -88,7 +88,6 @@ void Clear_prerequisites ANSI((CELLPTR)); int Test_circle ANSI((CELLPTR, int)); STRINGPTR Def_recipe ANSI((char *, STRINGPTR, int, int)); t_attr Rcp_attribute ANSI((char *)); -void main ANSI((int, char **, char **)); FILE *Openfile ANSI((char *, int, int)); FILE *Closefile ANSI(()); FILE *Search_file ANSI((char *, char **)); |