Drop non-prototype C function header variants: solib1.c
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / solib1.c
index 224a93d7a408a358ff21dbf94ac8cd30e6d15be6..c7d17f49f413034799a1f2466132ca14db081741 100644 (file)
@@ -3,16 +3,10 @@
    the square of its integer argument.
    */
 #if defined(__cplusplus) || defined(__STDCPP__)
-extern "C" int
-solib_main (int arg)
-#else
-#ifdef PROTOTYPES
-int  solib_main (int arg)
-#else
-int  solib_main (arg)
-  int  arg;
-#endif
+extern "C"
 #endif
+int
+solib_main (int arg)
 {
   return arg*arg;              /* HERE */
 }                              /* STEP */
This page took 0.026683 seconds and 4 git commands to generate.