OSDN Git Service

2001-11-25 Laurent Guerby <guerby@acm.org>
authorguerby <guerby@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Nov 2001 13:09:31 +0000 (13:09 +0000)
committerguerby <guerby@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Nov 2001 13:09:31 +0000 (13:09 +0000)
* sysdep.c (rts_get_*): Fix style.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47315 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/ChangeLog
gcc/ada/sysdep.c

index 7a69d21..07f34f1 100644 (file)
@@ -1,3 +1,7 @@
+2001-11-25  Laurent Guerby  <guerby@acm.org>
+
+       * sysdep.c (rts_get_*): Fix style.
+
 2001-11-19  Laurent Guerby  <guerby@acm.org>
 
        * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include
index ed8988a..2ab5807 100644 (file)
@@ -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