Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2004 08:44:37 -0600
From:      "Jacques A. Vidrine" <nectar@FreeBSD.org>
To:        freebsd-sparc64@FreeBSD.org
Subject:   src/lib/libc/sparc64
Message-ID:  <20040113144437.GB48140@madman.celabo.org>

next in thread | raw e-mail | index | archive | help
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@celabo.org jvidrine@verio.net nectar@freebsd.org nectar@kth.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040113144437.GB48140>