From e9a715195fbf82c9ea7d4b2d6699351468fab222 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Mon, 10 Feb 2025 21:34:08 +0300 Subject: make xstrcat() concats a variable number of strings --- src/xstd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/xstd.h') 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) + Copyright (C) 2020-2025 Aleksandr D. Goncharov (Joursoir) 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 . ***/ -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 */ -- cgit v1.2.3-18-g5258