[LTP] [PATCH v1 1/2] Add SAFE_SETHOSTNAME macro
Petr Vorel
pvorel@suse.cz
Tue Aug 23 12:13:13 CEST 2022
Hi Andrea,
you forget to add safe_sethostname() into include/safe_net_fn.h
That's why there are warnings when compiled with second patch.
utsname02.c:27:2: warning: implicit declaration of function 'safe_sethostname' is invalid in C99 [-Wimplicit-function-declaration]
utsname03.c:35:2: warning: implicit declaration of function 'safe_sethostname' is invalid in C99 [-Wimplicit-function-declaration]
Kind regards,
Petr
More information about the ltp
mailing list