mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-23 02:12:12 +00:00
be19763532
Fixes the following build failure with Clang 15 on musl: ``` bsd-asprintf.c:51:8: error: call to undeclared library function 'vsnprintf' with type 'int (char *, unsigned long, const char *, struct __va_list_tag *)'; ISO C99 and laterclang -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches -pipe -Wunknown-warning-option -Qunused-arguments -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -Wmisleading-indentation -Wbitwise-instead-of-logical -fno-strict-aliasing -mretpoline -ftrapv -fzero-call-used-regs=all -fno-builtin-memset -fstack-protector-strong -fPIE -I. -I. -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/misc/ssh-pkcs11-helper\" -D_PATH_SSH_SK_HELPER=\"/usr/lib/misc/ssh-sk-helper\" -D_PATH_SSH_PIDDIR=\"/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c cipher-aes.c -o cipher-aes.o do not support implicit function declarations [-Wimplicit-function-declaration] ret = vsnprintf(string, INIT_SZ, fmt, ap2); ^ bsd-asprintf.c:51:8: note: include the header <stdio.h> or explicitly provide a declaration for 'vsnprintf' 1 error generated. ``` |
||
---|---|---|
.. | ||
regress | ||
arc4random_uniform.c | ||
arc4random.c | ||
arc4random.h | ||
base64.c | ||
base64.h | ||
basename.c | ||
bcrypt_pbkdf.c | ||
bindresvport.c | ||
blf.h | ||
blowfish.c | ||
bsd-asprintf.c | ||
bsd-closefrom.c | ||
bsd-cygwin_util.c | ||
bsd-cygwin_util.h | ||
bsd-err.c | ||
bsd-flock.c | ||
bsd-getentropy.c | ||
bsd-getline.c | ||
bsd-getpagesize.c | ||
bsd-getpeereid.c | ||
bsd-malloc.c | ||
bsd-misc.c | ||
bsd-misc.h | ||
bsd-nextstep.c | ||
bsd-nextstep.h | ||
bsd-openpty.c | ||
bsd-poll.c | ||
bsd-poll.h | ||
bsd-pselect.c | ||
bsd-setres_id.c | ||
bsd-setres_id.h | ||
bsd-signal.c | ||
bsd-signal.h | ||
bsd-snprintf.c | ||
bsd-statvfs.c | ||
bsd-statvfs.h | ||
bsd-timegm.c | ||
bsd-waitpid.c | ||
bsd-waitpid.h | ||
chacha_private.h | ||
charclass.h | ||
daemon.c | ||
dirname.c | ||
explicit_bzero.c | ||
fake-rfc2553.c | ||
fake-rfc2553.h | ||
fmt_scaled.c | ||
fnmatch.c | ||
fnmatch.h | ||
freezero.c | ||
getcwd.c | ||
getgrouplist.c | ||
getopt_long.c | ||
getopt.h | ||
getrrsetbyname-ldns.c | ||
getrrsetbyname.c | ||
getrrsetbyname.h | ||
glob.c | ||
glob.h | ||
inet_aton.c | ||
inet_ntoa.c | ||
inet_ntop.c | ||
kludge-fd_set.c | ||
libressl-api-compat.c | ||
Makefile.in | ||
md5.c | ||
md5.h | ||
memmem.c | ||
mktemp.c | ||
openbsd-compat.h | ||
openssl-compat.c | ||
openssl-compat.h | ||
port-aix.c | ||
port-aix.h | ||
port-irix.c | ||
port-irix.h | ||
port-linux.c | ||
port-linux.h | ||
port-net.c | ||
port-net.h | ||
port-prngd.c | ||
port-solaris.c | ||
port-solaris.h | ||
port-uw.c | ||
port-uw.h | ||
pwcache.c | ||
readpassphrase.c | ||
readpassphrase.h | ||
reallocarray.c | ||
recallocarray.c | ||
rresvport.c | ||
setenv.c | ||
setproctitle.c | ||
sha1.c | ||
sha1.h | ||
sha2.c | ||
sha2.h | ||
sigact.c | ||
sigact.h | ||
strcasestr.c | ||
strlcat.c | ||
strlcpy.c | ||
strmode.c | ||
strndup.c | ||
strnlen.c | ||
strptime.c | ||
strsep.c | ||
strtoll.c | ||
strtonum.c | ||
strtoul.c | ||
strtoull.c | ||
sys-queue.h | ||
sys-tree.h | ||
timingsafe_bcmp.c | ||
vis.c | ||
vis.h | ||
xcrypt.c |