aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2022-09-06 09:27:00 +0300
committerJoursoir <chat@joursoir.net>2022-09-06 11:32:01 +0300
commit1a50644a9c4a435bc892f81d0dcdbf3161cc61ec (patch)
tree7c77fb1f8f5c5f8682c55395d11db4adb748b9eb
parent9f9d463f74fd50408c4447473530ca3b2af06798 (diff)
downloadlock-password-1a50644a9c4a435bc892f81d0dcdbf3161cc61ec.tar.gz
lock-password-1a50644a9c4a435bc892f81d0dcdbf3161cc61ec.tar.bz2
lock-password-1a50644a9c4a435bc892f81d0dcdbf3161cc61ec.zip
xstd: include missing headers for function prototypes
Fix the next warning: > no previous prototype for ‘xstrcat’ [-Wmissing-prototypes]
-rw-r--r--src/xstd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xstd.c b/src/xstd.c
index f791ab2..f06f639 100644
--- a/src/xstd.c
+++ b/src/xstd.c
@@ -19,6 +19,8 @@
#include <stdlib.h>
#include <string.h>
+#include "xstd.h"
+
char *xstrcat(const char *first, const char *second,
const char *delimiter)
{