projects
/
project
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3416169
)
libubus: fix multiple inclusions of libubus.h
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 1 Jun 2012 08:08:58 +0000
(10:08 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 1 Jun 2012 08:09:14 +0000
(10:09 +0200)
libubus.h
patch
|
blob
|
history
diff --git
a/libubus.h
b/libubus.h
index 917d1221e3d2808a3b3ec5daaa8cbfa1e01bba37..99cbbb44701f96621489ce906cfe42b38a58bc61 100644
(file)
--- a/
libubus.h
+++ b/
libubus.h
@@
-11,6
+11,9
@@
* GNU General Public License for more details.
*/
+#ifndef __LIBUBUS_H
+#define __LIBUBUS_H
+
#include <libubox/avl.h>
#include <libubox/list.h>
#include <libubox/blobmsg.h>
@@
-231,3
+234,5
@@
static inline int ubus_unregister_event_handler(struct ubus_context *ctx,
{
return ubus_remove_object(ctx, &ev->obj);
}
+
+#endif