* $FreeBSD$
*/
-#ifndef LIBARCHIVE_NONPOSIX_H_INCLUDED
-#define LIBARCHIVE_NONPOSIX_H_INCLUDED
+#ifndef LIBARCHIVE_ARCHIVE_WINDOWS_H_INCLUDED
+#define LIBARCHIVE_ARCHIVE_WINDOWS_H_INCLUDED
/* Start of configuration for native Win32 */
/* End of Win32 definitions. */
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/* Implementation POSIX function */
extern int link (const char *from, const char *to);
extern int symlink (const char *from, const char *to);
#endif
#endif
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* LIBARCHIVE_NONPOSIX_H_INCLUDED */
+#endif /* LIBARCHIVE_ARCHIVE_WINDOWS_H_INCLUDED */
char d_name[MAX_PATH];
};
-#ifdef __cplusplus
-extern "C" {
-#endif
-
struct bsdtar;
struct archive;
void (*write_hierarchy)(struct bsdtar *bsdtar,
struct archive *a, const char *path));
-#ifdef __cplusplus
-}
-#endif
-
#endif /* BSDTAR_WINDOWS_H */