On 05/09/2007, Peter Memishian <[EMAIL PROTECTED]> wrote:
>    1. Create a librpcsvc/common/llib-lrpcsvc file that has #includes for
>       all of the header files that comprise its public interfaces, e.g.:

As an example of the quandary I have in determining public interfaces
( I hate to reply twice to the same message but... )

__clnt_bindresvport

...is declared in usr/src/cmd/fs.d/nfs/umount/umount.c as:

extern int __clnt_bindresvport();

However, that is actually a private function according to the mapfile
for librpcsvc, and is never declared in any of the .h files provided
by/for librpcsvc.

As a result, lint complains that:
warning: name used but not defined: __clnt_bindresvport in
umount.c(318) (E_NAME_USED_NOT_DEF2)

Thoughts?

Thanks,
-- 
Shawn Walker, Software and Systems Analyst
[EMAIL PROTECTED] - http://binarycrusader.blogspot.com/

"Beware of bugs in the above code; I have only proved it correct, not
tried it. " --Donald Knuth
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to