]> Savannah Git Hosting - gnulib.git/commitdiff
mkancesdirs: Add extern "C" to header
authorSimon Marchi <simon.marchi@ericsson.com>
Tue, 10 Jul 2018 02:03:46 +0000 (19:03 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 10 Jul 2018 02:08:33 +0000 (19:08 -0700)
* lib/mkancesdirs.h: Add extern "C".

lib/mkancesdirs.h

index 5f7b2d6427d4de6dc8c67846f91d2f8b9988ed8b..fdfd65441053e871af55ddf6a288b693f070ab94 100644 (file)
@@ -1,4 +1,13 @@
 #include <stddef.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct savewd;
 ptrdiff_t mkancesdirs (char *, struct savewd *,
                        int (*) (char const *, char const *, void *), void *);
+
+#ifdef __cplusplus
+}
+#endif