projects
/
debian
/
gzip
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
zgrep man page updated in new upstream release
[debian/gzip]
/
lib
/
dirname.h
diff --git
a/lib/dirname.h
b/lib/dirname.h
index 4ad0312008c1ae5d666a814d4b74b32740ab7cae..875b31bae521df677dd2354e02984e912ef2068d 100644
(file)
--- a/
lib/dirname.h
+++ b/
lib/dirname.h
@@
-1,6
+1,6
@@
/* Take file names apart into directory and base names.
/* Take file names apart into directory and base names.
- Copyright (C) 1998, 2001, 2003-2006, 2009-201
3
Free Software Foundation,
+ Copyright (C) 1998, 2001, 2003-2006, 2009-201
6
Free Software Foundation,
Inc.
This program is free software: you can redistribute it and/or modify
Inc.
This program is free software: you can redistribute it and/or modify
@@
-31,6
+31,10
@@
# define DOUBLE_SLASH_IS_DISTINCT_ROOT 0
# endif
# define DOUBLE_SLASH_IS_DISTINCT_ROOT 0
# endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
# if GNULIB_DIRNAME
char *base_name (char const *file);
char *dir_name (char const *file);
# if GNULIB_DIRNAME
char *base_name (char const *file);
char *dir_name (char const *file);
@@
-43,4
+47,8
@@
char *last_component (char const *file) _GL_ATTRIBUTE_PURE;
bool strip_trailing_slashes (char *file);
bool strip_trailing_slashes (char *file);
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
#endif /* not DIRNAME_H_ */
#endif /* not DIRNAME_H_ */