ChangeLog:
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / solib1.c
CommitLineData
c906108c
SS
1/* This program is intended to be built as an HP-UX SOM shared
2 library, for use by the solib.exp testcase. It simply returns
3 the square of its integer argument.
4 */
085dd6e6
JM
5#if defined(__cplusplus) || defined(__STDCPP__)
6extern "C" int
7solib_main (int arg)
8#else
9#ifdef PROTOTYPES
10int solib_main (int arg)
11#else
c906108c
SS
12int solib_main (arg)
13 int arg;
085dd6e6
JM
14#endif
15#endif
c906108c
SS
16{
17 return arg*arg;
18}
This page took 0.955525 seconds and 4 git commands to generate.