Commit d9a9c45b authored by James Zern's avatar James Zern

rtcd.sh: add extern "C" to generated headers

Change-Id: Ifb30518555402eb473c3fde81bc860fbe17851dd
parent 9c8b74f1
......@@ -209,6 +209,10 @@ common_top() {
#define RTCD_EXTERN extern
#endif
#ifdef __cplusplus
extern "C" {
#endif
$(process_forward_decls)
$(declare_function_pointers c $ALL_ARCHS)
......@@ -219,6 +223,11 @@ EOF
common_bottom() {
cat <<EOF
#ifdef __cplusplus
} // extern "C"
#endif
#endif
EOF
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment