repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gdb6
/
gdb
/
testsuite
/
gdb.base
/
solib1.c
blob
2e51750450561e161eeace1081efdcdbc3e75b70
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
*/
5
#if defined(__cplusplus) || defined(__STDCPP__)
6
extern
"C"
int
7
solib_main
(
int
arg
)
8
#else
9
#ifdef PROTOTYPES
10
int
solib_main
(
int
arg
)
11
#else
12
int
solib_main
(
arg
)
13
int
arg
;
14
#endif
15
#endif
16
{
17
return
arg
*
arg
;
18
}