fix prototype for getservbyport, from babafou@ensta.fr [misc/2916],
and also add 'const' qualifiers
This commit is contained in:
parent
6fda3d6fa9
commit
5fe99da953
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: getservent.3,v 1.3 1995/02/25 06:20:38 cgd Exp $
|
||||
.\" $NetBSD: getservent.3,v 1.4 1996/11/09 08:30:22 lukem Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1983, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
|
@ -48,9 +48,9 @@
|
|||
.Ft struct servent *
|
||||
.Fn getservent
|
||||
.Ft struct servent *
|
||||
.Fn getservbyname "char *name" "char *proto"
|
||||
.Fn getservbyname "const char *name" "const char *proto"
|
||||
.Ft struct servent *
|
||||
.Fn getservbyport "int port" proto
|
||||
.Fn getservbyport "int port" "const char *proto"
|
||||
.Ft void
|
||||
.Fn setservent "int stayopen"
|
||||
.Ft void
|
||||
|
|
Loading…
Reference in New Issue