src/lib/libc/sparc64

Jacques A. Vidrine nectar at FreeBSD.org
Tue Jan 13 06:44:39 PST 2004


Hi All,

While cleaning up libc warnings, I noticed the following while compiling
on sparc64:

.../libc/sparc64/sys/__sparc_utrap.c:114: warning: implicit declaration of function `__sys_write'
.../libc/sparc64/sys/__sparc_utrap.c:124: warning: implicit declaration of function `__sys_kill'
.../libc/sparc64/sys/__sparc_utrap.c:124: warning: implicit declaration of function `__sys_getpid'

I'm not sure of the best way to resolve these.  It's not clear to me
where these are defined, nor whether or not they could be replaced by
calls to the usual stubs (_write, ...)--- I assume not.

So before I added function declarations for them to shut up the
compiler, I thought I'd ask.

(With these `fixed', I believe libc will be WARNS=2 clean on all
platforms.)

Cheers,
-- 
Jacques Vidrine   NTT/Verio SME      FreeBSD UNIX       Heimdal
nectar at celabo.org jvidrine at verio.net nectar at freebsd.org nectar at kth.se


More information about the freebsd-sparc64 mailing list