Module Name: src Committed By: christos Date: Sun Apr 19 22:25:29 UTC 2009
Modified Files: src/lib/librefuse: fuse_opt.h Log Message: PR/41250: David H. Gutteridge: librefuse fuse_opt.h header doesn't accommodate C++ compilation To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 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.5 --- src/lib/librefuse/fuse_opt.h:1.4 Wed May 16 21:55:43 2007 +++ src/lib/librefuse/fuse_opt.h Sun Apr 19 18:25:29 2009 @@ -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.5 2009/04/19 22:25:29 christos 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_ */