anntp

a nntp implementation in pure C99
Log | Files | Refs | README | LICENSE

commit 51ec92fcdedd1ad00e25b27f6419980eb626e482
parent 1bd7021bd91928609892f3b11b4ca92c7a2ee67c
Author: Mario Rosell R. Martinez <mario@mariorosell.es>
Date:   Wed,  8 Apr 2026 20:36:33 +0200

~~Header~~ implementation guards

Diffstat:
Manntp.h | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/anntp.h b/anntp.h @@ -211,6 +211,9 @@ ANNTP_API char* anntp_strerror(AnntpErrCode err); #ifdef ANNTP_IMPLEMENTATION +#ifdef ANNTP_IMPLEMENTATION_ONCE +#define ANNTP_IMPLEMENTATION_ONCE + static ssize_t _afillbuf(AnntpConnection* c); void @@ -963,5 +966,6 @@ anntp_strerror(AnntpErrCode c) } } +#endif /* ANNTP_IMPLEMENTATION_ONCE */ #endif /* ANNTP_IMPLEMENTATION */