Commit d9a9c45b authored by James Zern's avatar James Zern
Browse files

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

Change-Id: Ifb30518555402eb473c3fde81bc860fbe17851dd
Showing with 9 additions and 0 deletions
......@@ -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
}
......
Supports Markdown
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