e444df73e9
Clean up solib1.c by removing the #ifdef PROTOTYPES conditional. gdb/testsuite/ChangeLog: * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped variant.
12 lines
313 B
C
12 lines
313 B
C
/* This program is intended to be built as an HP-UX SOM shared
|
|
library, for use by the solib.exp testcase. It simply returns
|
|
the square of its integer argument.
|
|
*/
|
|
#if defined(__cplusplus) || defined(__STDCPP__)
|
|
extern "C"
|
|
#endif
|
|
int
|
|
solib_main (int arg)
|
|
{
|
|
return arg*arg; /* HERE */
|
|
} /* STEP */
|