projects
/
project
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5eb996
)
improve support for C++ stuff
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 15 Mar 2011 03:05:15 +0000
(
04:05
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 15 Mar 2011 03:05:15 +0000
(
04:05
+0100)
uci.h
patch
|
blob
|
history
diff --git
a/uci.h
b/uci.h
index fe5e31443d820520111a86ab1f88b5b4ee467483..97bff7d337d620ddd130d307370764b8b69d57cc 100644
(file)
--- a/
uci.h
+++ b/
uci.h
@@
-15,6
+15,10
@@
#ifndef __LIBUCI_H
#define __LIBUCI_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "uci_config.h"
/*
@@
-710,4
+714,8
@@
uci_lookup_option_string(struct uci_context *ctx, struct uci_section *s, const c
return o->v.string;
}
+#ifdef __cplusplus
+}
+#endif
+
#endif