mirror of
https://github.com/shadow-maint/shadow.git
synced 2026-01-29 15:24:12 +00:00
"config.h" is a locally generated header. It must be included as '#include "config.h"'. It is already included correctly in some sources files. This commit unifies the way how "config.h" is included. Signed-off-by: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
18 lines
422 B
C
18 lines
422 B
C
// SPDX-FileCopyrightText: 2022-2024, Alejandro Colomar <alx@kernel.org>
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
|
|
#include "config.h"
|
|
|
|
#include "string/sprintf/stpeprintf.h"
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
#if !defined(HAVE_STPEPRINTF)
|
|
extern inline char *stpeprintf(char *dst, char *end, const char *restrict fmt,
|
|
...);
|
|
extern inline char *vstpeprintf(char *dst, char *end, const char *restrict fmt,
|
|
va_list ap);
|
|
#endif
|