From: James Jones Date: Thu, 9 Mar 2023 21:19:02 +0000 (-0600) Subject: Turn off caller graph for strlcpy() (#4924) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f2ac8fc67859fcdf848e220bb1f4da1cf3c82b6;p=thirdparty%2Ffreeradius-server.git Turn off caller graph for strlcpy() (#4924) We get the "missing" version of strlcpy() on Linux, which means the other @hidecallergraph has to be in src/include/missing-h, from which src/include/missing.h, which doxygen looks at, is generated. --- diff --git a/src/include/missing-h b/src/include/missing-h index 2ccd1411eae..0dd155ff1bd 100644 --- a/src/include/missing-h +++ b/src/include/missing-h @@ -368,8 +368,10 @@ int vsnprintf(char *str, size_t count, char const *fmt, va_list arg); int snprintf(char *str, size_t count, char const *fmt, ...); #endif -/* +/** * Functions from strl{cat,cpy}.c + * + * @hidecallergraph */ #ifndef HAVE_STRLCPY size_t strlcpy(char *dst, char const *src, size_t siz); diff --git a/src/lib/util/strlcpy.c b/src/lib/util/strlcpy.c index f4ef5dbe3f8..3d0e937dc10 100644 --- a/src/lib/util/strlcpy.c +++ b/src/lib/util/strlcpy.c @@ -29,6 +29,7 @@ RCSID("$Id$") * will be copied. Always NUL terminates (unless siz == 0). * Returns strlen(src); if retval >= siz, truncation occurred. */ +/** @hidecallergraph */ size_t strlcpy(char *dst, char const *src, size_t siz) {