]> gitweb.factorcode.org Git - factor.git/commitdiff
unix.ffi: typo, prot -> proto
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 29 Mar 2023 02:39:00 +0000 (21:39 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 14 Apr 2023 04:18:02 +0000 (23:18 -0500)
basis/unix/ffi/ffi.factor

index 7c241dbc5120cba48d84d990b3f71de95d8ce73e..d944febc83c52a09832769e8f670e29c8b23c71d 100644 (file)
@@ -130,8 +130,8 @@ FUNCTION: int gethostname ( c-string name, int len )
 FUNCTION: int getsockname ( int socket, sockaddr* address, socklen_t* address_len )
 FUNCTION: int getpeername ( int socket, sockaddr* address, socklen_t* address_len )
 FUNCTION: protoent* getprotobyname ( c-string name )
-FUNCTION: servent* getservbyname ( c-string name, c-string prot )
-FUNCTION: servent* getservbyport ( int port, c-string prot )
+FUNCTION: servent* getservbyname ( c-string name, c-string proto )
+FUNCTION: servent* getservbyport ( int port, c-string proto )
 FUNCTION: uid_t getuid ( )
 FUNCTION: uint htonl ( uint n )
 FUNCTION: ushort htons ( ushort n )