]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Turn off caller graph for strlcpy() (#4924)
authorJames Jones <jejones3141@gmail.com>
Thu, 9 Mar 2023 21:19:02 +0000 (15:19 -0600)
committerGitHub <noreply@github.com>
Thu, 9 Mar 2023 21:19:02 +0000 (16:19 -0500)
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.

src/include/missing-h
src/lib/util/strlcpy.c

index 2ccd1411eaefd9861608311af128ae134b6f41c1..0dd155ff1bd5eb1d987c3f4a9a044ce1ccb4634c 100644 (file)
@@ -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);
index f4ef5dbe3f8aff54b0462f36fe0a233e36c84d9e..3d0e937dc1088377d3c5120d5c95f6adc74262b3 100644 (file)
@@ -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)
 {