summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-12-21 11:31:16 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-12-21 11:31:16 +0000
commitb45692fe8638c4faaaedb488402b90971fda18f5 (patch)
tree223accd7def6c728227550682b4b04e05416297b
parent2990ce9b390ec1e2bfa1c043c406878e8aff86dd (diff)
downloadskalibs-b45692fe8638c4faaaedb488402b90971fda18f5.tar.gz
skalibs-b45692fe8638c4faaaedb488402b90971fda18f5.tar.xz
skalibs-b45692fe8638c4faaaedb488402b90971fda18f5.zip
Undeprecate mininetstring
 It's actually used by s6-dns!
-rw-r--r--NEWS1
-rw-r--r--doc/upgrade.html1
-rw-r--r--src/include/skalibs/mininetstring.h5
3 files changed, 2 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index f069e58..88ea4fe 100644
--- a/NEWS
+++ b/NEWS
@@ -9,7 +9,6 @@ In 2.6.3.0
  - New header: skalibs/posixplz.h, some header reorganization.
  - New family of functions: skalibs/textmessage.h.
  - skalibs/environ.h and skalibs/getpeereid.h are now obsolescent.
- - mininetstring* functions are now obsolescent.
 
 
 In 2.6.2.0
diff --git a/doc/upgrade.html b/doc/upgrade.html
index 6281e6c..b2d4500 100644
--- a/doc/upgrade.html
+++ b/doc/upgrade.html
@@ -25,7 +25,6 @@
  <li> New header: <tt>skalibs/posixplz.h</tt>. Some header reorganization. </li>
  <li> New family of functions: <tt>skalibs/textmessage.h</tt>. </li>
  <li> <tt>skalibs/environ.h</tt> and <tt>skalibs/getpeereid.h</tt> are now obsolescent. </li>
- <li> <tt>skalibs/mininetstring.h</tt> and the functions are it declares now obsolescent. </li>
 </ul>
 
 <h2> in 2.6.2.0 </h2>
diff --git a/src/include/skalibs/mininetstring.h b/src/include/skalibs/mininetstring.h
index 9e88601..1997b18 100644
--- a/src/include/skalibs/mininetstring.h
+++ b/src/include/skalibs/mininetstring.h
@@ -4,10 +4,9 @@
 #define MININETSTRING_H
 
 #include <stdint.h>
-#include <skalibs/gccattributes.h>
 #include <skalibs/stralloc.h>
 
-extern int mininetstring_read (int, stralloc *, uint32_t *) gccattr_deprecated ;
-extern int mininetstring_write (int, char const *, uint16_t, uint32_t *) gccattr_deprecated ;
+extern int mininetstring_read (int, stralloc *, uint32_t *) ;
+extern int mininetstring_write (int, char const *, uint16_t, uint32_t *) ;
 
 #endif