From: Christian Heller Date: Sun, 3 Aug 2014 01:58:50 +0000 (+0200) Subject: Update comment info on macros needed for snprintf(). X-Git-Tag: tce~677 X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/static/templates?a=commitdiff_plain;h=9281cb7dd7656ff5d19e0747f819051a884649ec;p=plomrogue Update comment info on macros needed for snprintf(). --- diff --git a/src/client/interface_conf.c b/src/client/interface_conf.c index 65debb0..9e97c55 100644 --- a/src/client/interface_conf.c +++ b/src/client/interface_conf.c @@ -1,6 +1,6 @@ /* src/client/interface_conf.c */ -#define _POSIX_C_SOURCE 200809L /* getopt(), optarg, strdup() */ +#define _POSIX_C_SOURCE 200809L /* getopt(), optarg, strdup(), snprintf() */ #include "interface_conf.h" #include /* delwin() */ #include /* NULL, size_t */ diff --git a/src/client/parse.c b/src/client/parse.c index 5efbaf9..54d8fc3 100644 --- a/src/client/parse.c +++ b/src/client/parse.c @@ -1,6 +1,6 @@ /* src/client/parse.c */ -#define _POSIX_C_SOURCE 200809L /* strdup() */ +#define _POSIX_C_SOURCE 200809L /* strdup(), snprintf() */ #include "parse.h" #include /* size_t, NULL */ #include /* FILE, snprintf() */ diff --git a/src/common/parse_file.c b/src/common/parse_file.c index fd5b9a8..9829e4e 100644 --- a/src/common/parse_file.c +++ b/src/common/parse_file.c @@ -1,6 +1,6 @@ /* src/common/parse_file.c */ -#define _POSIX_C_SOURCE 200809L /* strdup() */ +#define _POSIX_C_SOURCE 200809L /* strdup(), snprintf() */ #include "parse_file.h" #include /* size_t, NULL */ #include /* FILE, snprintf() */ diff --git a/src/server/io.c b/src/server/io.c index a89f121..485313a 100644 --- a/src/server/io.c +++ b/src/server/io.c @@ -1,6 +1,6 @@ /* src/server/io.c */ -#define _POSIX_C_SOURCE 200112L +#define _POSIX_C_SOURCE 200112L /* snrpintf() */ #include "io.h" #include /* global errno */ #include /* PIPE_BUF */