summaryrefslogtreecommitdiff
path: root/tests/dirname.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dirname.h')
-rw-r--r--tests/dirname.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dirname.h b/tests/dirname.h
index 05cab41f..8b511116 100644
--- a/tests/dirname.h
+++ b/tests/dirname.h
@@ -1,6 +1,6 @@
/* Take file names apart into directory and base names.
- Copyright (C) 1998, 2001, 2003-2006, 2009-2017 Free Software Foundation,
+ Copyright (C) 1998, 2001, 2003-2006, 2009-2018 Free Software Foundation,
Inc.
This program is free software: you can redistribute it and/or modify
@@ -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