diff options
Diffstat (limited to 'Documentation/perf_counter/util/abspath.c')
-rw-r--r-- | Documentation/perf_counter/util/abspath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/perf_counter/util/abspath.c b/Documentation/perf_counter/util/abspath.c index 649f34f83365..61d33b81fc97 100644 --- a/Documentation/perf_counter/util/abspath.c +++ b/Documentation/perf_counter/util/abspath.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * symlink to a directory, we do not want to say it is a directory when | 5 | * symlink to a directory, we do not want to say it is a directory when |
6 | * dealing with tracked content in the working tree. | 6 | * dealing with tracked content in the working tree. |
7 | */ | 7 | */ |
8 | int is_directory(const char *path) | 8 | static int is_directory(const char *path) |
9 | { | 9 | { |
10 | struct stat st; | 10 | struct stat st; |
11 | return (!stat(path, &st) && S_ISDIR(st.st_mode)); | 11 | return (!stat(path, &st) && S_ISDIR(st.st_mode)); |