]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorRoland McGrath <roland@gnu.org>
Mon, 1 Jul 1996 22:16:08 +0000 (22:16 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 1 Jul 1996 22:16:08 +0000 (22:16 +0000)
* 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.

inet/Makefile
inet/getnetbyad.c [moved from inet/getnetbypt.c with 96% similarity]
inet/getnetbyad_r.c [moved from inet/getnetbypt_r.c with 96% similarity]

index 197e9d03a4290105dfbef9ed2669b811523b4fb0..e97da7f1ce39c78faa58b2f22ae29c13ea1349b6 100644 (file)
@@ -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 \
similarity index 96%
rename from inet/getnetbypt.c
rename to inet/getnetbyad.c
index 960ac0a064c6eff9f3a8953268ca19b2373bb0e5..e355ca792b913c257321bfbdba0367b126000687 100644 (file)
@@ -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
similarity index 96%
rename from inet/getnetbypt_r.c
rename to inet/getnetbyad_r.c
index a39f26f797ad367effb800b3a079fec5c6c2b1a5..6a2b41b13295f8e10baee2c6cde9bf3a09507f7e 100644 (file)
@@ -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