posix.cfg: Fix getprotobynumber configuration (#1034)

It seems to be a copy & paste error.
The comment, the return value, the warn entry and the rest of the
configuration suggest that this must be the getprotobynumber function
configuration and not the getservbyport configuration which would be
redundant as it is configured a bit later.
This commit is contained in:
Sebastian 2018-01-16 10:46:30 +01:00 committed by amai2012
parent 6bd524baaf
commit 2e2f8a00d6
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ The obsolescent function 'usleep' is called. POSIX.1-2001 declares usleep() func
<warn severity="portability">Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'.</warn>
</function>
<!-- struct protoent *getprotobynumber(int proto); -->
<function name="getservbyport">
<function name="getprotobynumber">
<use-retval/>
<noreturn>false</noreturn>
<leak-ignore/>