[haiku-commits] Change in haiku[master]: inet.h: Remove "cidr" functions.

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 21 Jun 2020 22:42:47 +0000

From waddlesplash <waddlesplash@xxxxxxxxx>:

waddlesplash has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/2942 ;)


Change subject: inet.h: Remove "cidr" functions.
......................................................................

inet.h: Remove "cidr" functions.

These are not in the standard and are not declared by glibc at all.
The symbols remain for any applications that are still using them,
for now.\
---
M headers/posix/arpa/inet.h
1 file changed, 1 insertion(+), 5 deletions(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/42/2942/1

diff --git a/headers/posix/arpa/inet.h b/headers/posix/arpa/inet.h
index b69b148..f14b028 100644
--- a/headers/posix/arpa/inet.h
+++ b/headers/posix/arpa/inet.h
@@ -1,5 +1,5 @@
 /*
- * Copyright 2009-2012 Haiku, Inc. All Rights Reserved.
+ * Copyright 2009-2020 Haiku, Inc. All Rights Reserved.
  * Distributed under the terms of the MIT License.
  */
 #ifndef _INET_H_
@@ -18,10 +18,6 @@

 in_addr_t              inet_addr(const char* addressString);
 int                            inet_aton(const char* addressString, struct 
in_addr* address);
-char*                  inet_cidr_ntop(int family, const void* source, int bits,
-                                       char* dest, size_t destSize);
-int                            inet_cidr_pton(int family, const char* 
sourceString, void* dest,
-                                       int* _bits);
 in_addr_t              inet_lnaof(struct in_addr address);
 struct in_addr inet_makeaddr(in_addr_t net, in_addr_t host);
 char*                  inet_net_ntop(int family, const void* source, int bits,

--
To view, visit https://review.haiku-os.org/c/haiku/+/2942
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: Ie6b4a6b5ec3231c304e05ce9cb38c67d9ee51ad7
Gerrit-Change-Number: 2942
Gerrit-PatchSet: 1
Gerrit-Owner: waddlesplash <waddlesplash@xxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in haiku[master]: inet.h: Remove "cidr" functions. - Gerrit