Module Name: src
Committed By: riz
Date: Mon Aug 8 19:55:27 UTC 2011
Modified Files:
src/lib/librefuse [netbsd-5]: fuse_opt.h
Log Message:
Pull up following revision(s) (requested by tron in ticket #1649):
lib/librefuse/fuse_opt.h: revision 1.5
PR/41250: David H. Gutteridge: librefuse fuse_opt.h header doesn't accommod=
ate
C++ compilation
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.18.1 src/lib/librefuse/fuse_opt.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/librefuse/fuse_opt.h
diff -u src/lib/librefuse/fuse_opt.h:1.4 src/lib/librefuse/fuse_opt.h:1.4.18.1
--- src/lib/librefuse/fuse_opt.h:1.4 Thu May 17 01:55:43 2007
+++ src/lib/librefuse/fuse_opt.h Mon Aug 8 19:55:27 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: fuse_opt.h,v 1.4 2007/05/17 01:55:43 christos Exp $ */
+/* $NetBSD: fuse_opt.h,v 1.4.18.1 2011/08/08 19:55:27 riz Exp $ */
/*
* Copyright (c) 2007 Alistair Crooks. All rights reserved.
@@ -31,6 +31,10 @@
#ifndef _FUSE_OPT_H_
#define _FUSE_OPT_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
enum {
FUSE_OPT_KEY_OPT = -1,
FUSE_OPT_KEY_NONOPT = -2,
@@ -59,4 +63,8 @@
const struct fuse_opt *, fuse_opt_proc_t);
int fuse_opt_match(const struct fuse_opt *, const char *);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _FUSE_OPT_H_ */