commit b45692fe8638c4faaaedb488402b90971fda18f5
parent 2990ce9b390ec1e2bfa1c043c406878e8aff86dd
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Thu, 21 Dec 2017 11:31:16 +0000
Undeprecate mininetstring
It's actually used by s6-dns!
Diffstat:
3 files changed, 2 insertions(+), 5 deletions(-)
diff --git 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
@@ -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
@@ -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