summaryrefslogtreecommitdiff
path: root/tests/dirname.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dirname.h')
-rw-r--r--tests/dirname.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dirname.h b/tests/dirname.h
index 69aeb868..8b511116 100644
--- a/tests/dirname.h
+++ b/tests/dirname.h
@@ -36,7 +36,7 @@ extern "C" {
#endif
# if GNULIB_DIRNAME
-char *base_name (char const *file);
+char *base_name (char const *file) _GL_ATTRIBUTE_MALLOC;
char *dir_name (char const *file);
# endif