[PATCH skeleton 5/9] Update and run libopenbmc_intf codegen
OpenBMC Patches
openbmc-patches at stwcx.xyz
Tue Jun 28 04:50:50 AEST 2016
From: Brad Bishop <bradleyb at fuzziesquirrel.com>
Update codegen to reflect new path xml/output locations.
Run updated codegen.
Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>
---
libopenbmc_intf/codegen | 2 +-
libopenbmc_intf/openbmc_intf.h | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libopenbmc_intf/codegen b/libopenbmc_intf/codegen
index 0fb688e..1c3700d 100755
--- a/libopenbmc_intf/codegen
+++ b/libopenbmc_intf/codegen
@@ -1 +1 @@
-gdbus-codegen --interface-prefix org.openbmc --c-generate-object-manager --generate-c-code interfaces/$1 xml/$1.xml
+gdbus-codegen --interface-prefix org.openbmc --c-generate-object-manager --generate-c-code $1 $1.xml
diff --git a/libopenbmc_intf/openbmc_intf.h b/libopenbmc_intf/openbmc_intf.h
index 3ba589d..4a1d7d6 100644
--- a/libopenbmc_intf/openbmc_intf.h
+++ b/libopenbmc_intf/openbmc_intf.h
@@ -4,8 +4,8 @@
* The license of this code is the same as for the source it was derived from.
*/
-#ifndef __INTERFACES_OPENBMC_INTF_H__
-#define __INTERFACES_OPENBMC_INTF_H__
+#ifndef __OPENBMC_INTF_H__
+#define __OPENBMC_INTF_H__
#include <gio/gio.h>
@@ -4197,4 +4197,4 @@ GDBusObjectManager *object_manager_client_new_for_bus_sync (
G_END_DECLS
-#endif /* __INTERFACES_OPENBMC_INTF_H__ */
+#endif /* __OPENBMC_INTF_H__ */
--
2.9.0
More information about the openbmc
mailing list