s6

Mirror/fork of https://skarnet.org/software/s6/
git clone https://ccx.te2000.cz/git/s6
Log | Files | Refs | README | LICENSE

commit f0109069e88e99319bc23636b59fc03875c0a1c6
parent ea2b67a78ba61808d9e0c24f947730cb8fead242
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date:   Fri,  1 Feb 2019 13:27:17 +0000

Don't deprecate ftrig1_init: remove it. (major bump inc anyway)

Diffstat:
Msrc/libs6/ftrig1.h | 2--
Msrc/libs6/ftrig1_make.c | 5-----
2 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/src/libs6/ftrig1.h b/src/libs6/ftrig1.h @@ -3,7 +3,6 @@ #ifndef FTRIG1_H #define FTRIG1_H -#include <skalibs/gccattributes.h> #include <skalibs/stralloc.h> #define FTRIG1_PREFIX "ftrig1" @@ -18,7 +17,6 @@ struct ftrig1_s } ; #define FTRIG1_ZERO { .fd = -1, .fdw = -1, .name = STRALLOC_ZERO } -extern void ftrig1_init (void) gccattr_deprecated ; extern int ftrig1_make (ftrig1_t *, char const *) ; extern void ftrig1_free (ftrig1_t *) ; diff --git a/src/libs6/ftrig1_make.c b/src/libs6/ftrig1_make.c @@ -10,11 +10,6 @@ #include "ftrig1.h" -void ftrig1_init (void) -{ - /* deprecated */ -} - int ftrig1_make (ftrig1_t *f, char const *path) { ftrig1_t ff = FTRIG1_ZERO ;