aboutsummaryrefslogtreecommitdiffstats
path: root/src/xstd.h
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2025-02-10 21:34:08 +0300
committerJoursoir <chat@joursoir.net>2025-02-10 21:34:28 +0300
commite9a715195fbf82c9ea7d4b2d6699351468fab222 (patch)
tree101b362b2a0da53bc855382d837b2528b02c8b19 /src/xstd.h
parent520b9fa310b3e649420a0b6aa040e42af4928dee (diff)
downloadlock-password-e9a715195fbf82c9ea7d4b2d6699351468fab222.tar.gz
lock-password-e9a715195fbf82c9ea7d4b2d6699351468fab222.tar.bz2
lock-password-e9a715195fbf82c9ea7d4b2d6699351468fab222.zip
make xstrcat() concats a variable number of strings
Diffstat (limited to 'src/xstd.h')
-rw-r--r--src/xstd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xstd.h b/src/xstd.h
index 4683c3b..1281da0 100644
--- a/src/xstd.h
+++ b/src/xstd.h
@@ -3,7 +3,7 @@
/***
This file is part of LockPassword
- Copyright (C) 2020-2021 Aleksandr D. Goncharov (Joursoir) <chat@joursoir.net>
+ Copyright (C) 2020-2025 Aleksandr D. Goncharov (Joursoir) <chat@joursoir.net>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -19,7 +19,7 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
***/
-char *xstrcat(const char *first, const char *second,
- const char *delimiter);
+// A `null` pointer indicates the end of the arguments
+char *xstrcat(const char *first, ...);
#endif /* LPASS_XSTD_H */