diff options
author | guerby <guerby@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-25 13:09:31 +0000 |
---|---|---|
committer | guerby <guerby@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-25 13:09:31 +0000 |
commit | 4c76b3125a819de27e25ff43aba4d9e6a5ff3fbd (patch) | |
tree | 856897e8dce07ea175c0f0491bdb214370464426 /gcc/ada/sysdep.c | |
parent | 407527112b9b5d9b5334be268a4a1f0790d3c914 (diff) | |
download | gcc-4c76b3125a819de27e25ff43aba4d9e6a5ff3fbd.tar.gz |
2001-11-25 Laurent Guerby <guerby@acm.org>
* sysdep.c (rts_get_*): Fix style.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47315 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sysdep.c')
-rw-r--r-- | gcc/ada/sysdep.c | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/gcc/ada/sysdep.c b/gcc/ada/sysdep.c index ed8988a8f5a..2ab58074c02 100644 --- a/gcc/ada/sysdep.c +++ b/gcc/ada/sysdep.c @@ -6,7 +6,7 @@ * * * C Implementation File * * * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * * * Copyright (C) 1992-2001 Free Software Foundation, Inc. * * * @@ -526,10 +526,29 @@ char *rts_get_hPrevInstance PARAMS ((void)); char *rts_get_lpCommandLine PARAMS ((void)); int rts_get_nShowCmd PARAMS ((void)); -char *rts_get_hInstance () { return (GetModuleHandleA (0)); } -char *rts_get_hPrevInstance () { return (0); } -char *rts_get_lpCommandLine () { return (GetCommandLineA ()); } -int rts_get_nShowCmd () { return (1); } +char * +rts_get_hInstance () +{ + return GetModuleHandleA (0); +} + +char * +rts_get_hPrevInstance () +{ + return 0; +} + +char * +rts_get_lpCommandLine () +{ + return GetCommandLineA (); +} + +int +rts_get_nShowCmd () +{ + return 1; +} #endif /* WINNT */ #ifdef VMS |