commit: 9db7ba2bcd7bf362d6c17a5a6c7c13b5edb1118c
parent d1389313d74289a2226c348e2eb26f299c14d61b
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 7 Dec 2024 20:07:37 +0100
cmd/join: comment why _BSD_SOURCE
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/cmd/join.c b/cmd/join.c
@@ -33,16 +33,16 @@
* SUCH DAMAGE.
*/
-#define _BSD_SOURCE
+#define _BSD_SOURCE // fgetln, strsep
#include "../lib/err.h"
#include <errno.h>
#include <limits.h>
#include <locale.h>
-#include <stdio.h>
+#include <stdio.h> // fgetln
#include <stdlib.h>
-#include <string.h>
+#include <string.h> // strsep
#include <sys/param.h>
#include <unistd.h>
#include <wchar.h>