summary refs log tree commit diff
path: root/inet
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-07-01 22:16:08 +0000
committerRoland McGrath <roland@gnu.org>1996-07-01 22:16:08 +0000
commit7cbc698400bfe2a64f12b0cb703fda0fdecb5a59 (patch)
treec37139a793b2c44abf2821f9a6e0124786d94f4d /inet
parent6ce16797cd1c4fd6bbd0c99ab2edd100bda2f1ce (diff)
downloadglibc-7cbc698400bfe2a64f12b0cb703fda0fdecb5a59.tar.gz
glibc-7cbc698400bfe2a64f12b0cb703fda0fdecb5a59.tar.xz
glibc-7cbc698400bfe2a64f12b0cb703fda0fdecb5a59.zip
Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
	* inet/Makefile (routines): Change getnetbypt to getnetbyad.
	* inet/getnetbypt_r.c: Renamed to ...
	* inet/getnetbyad_r.c: this; fixed function name.
	* inet/getnetbypt.c: Renamed to ...
	* inet/getnetbyad.c: this; fixed function name.
Diffstat (limited to 'inet')
-rw-r--r--inet/Makefile2
-rw-r--r--inet/getnetbyad.c (renamed from inet/getnetbypt.c)2
-rw-r--r--inet/getnetbyad_r.c (renamed from inet/getnetbypt_r.c)2
3 files changed, 3 insertions, 3 deletions
diff --git a/inet/Makefile b/inet/Makefile
index 197e9d03a4..e97da7f1ce 100644
--- a/inet/Makefile
+++ b/inet/Makefile
@@ -29,7 +29,7 @@ routines := ntohl ntohs htonl htons		\
 	    inet_netof inet_ntoa inet_net herrno \
 	    gethstbyad gethstbyad_r gethstbynm gethstbynm2 gethstbynm2_r \
 	    gethstbynm_r gethstent gethstent_r \
-	    getnetbypt getnetbypt_r getnetbynm getnetent getnetent_r \
+	    getnetbyad getnetbyad_r getnetbynm getnetent getnetent_r \
 	    getnetbynm_r \
 	    getproto getproto_r getprtent getprtent_r getprtname getprtname_r \
 	    getsrvbynm getsrvbynm_r getsrvbypt getsrvbypt_r getservent \
diff --git a/inet/getnetbypt.c b/inet/getnetbyad.c
index 960ac0a064..e355ca792b 100644
--- a/inet/getnetbypt.c
+++ b/inet/getnetbyad.c
@@ -21,7 +21,7 @@ Boston, MA 02111-1307, USA.  */
 
 
 #define LOOKUP_TYPE	struct netent
-#define FUNCTION_NAME	getnetbyport
+#define FUNCTION_NAME	getnetbyaddr
 #define DATABASE_NAME	networks
 #define ADD_PARAMS	unsigned long int net, int type
 #define ADD_VARIABLES	net, type
diff --git a/inet/getnetbypt_r.c b/inet/getnetbyad_r.c
index a39f26f797..6a2b41b132 100644
--- a/inet/getnetbypt_r.c
+++ b/inet/getnetbyad_r.c
@@ -21,7 +21,7 @@ Boston, MA 02111-1307, USA.  */
 
 
 #define LOOKUP_TYPE	struct netent
-#define FUNCTION_NAME	getnetbyport
+#define FUNCTION_NAME	getnetbyaddr
 #define DATABASE_NAME	networks
 #define ADD_PARAMS	unsigned long int net, int type
 #define ADD_VARIABLES	net, type