gcc -pthread -Wall -Wextra -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations stdio/vasprintf.c -o stdio/vasprintf -D_POSIX_C_SOURCE=202405L -lm -lpthread -lrt -lxnet -lsocket -latomic stdio/vasprintf.c:5:62: error: 'vasprintf' undeclared here (not in a function); did you mean 'vsprintf'? 5 | int (*foo)(char **restrict, const char *restrict, va_list) = vasprintf; | ^~~~~~~~~ | vsprintf