Skip to content

Commit

Permalink
fix: name unused parameters to support GCC<=10 (fixes #5)
Browse files Browse the repository at this point in the history
  • Loading branch information
oddlama committed Mar 2, 2023
1 parent 9b9998e commit ade4b7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bridge/cbridge/interceptor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ function build_bridge() {
INPUTS=(conf zconf.tab autokernel_bridge)
fi
if grep -q "set_message_callback.*va" scripts/kconfig/lkc_proto.h; then
message_callback_type="const char*, va_list"
message_callback_type="const char* _a, va_list _b"
else
message_callback_type="const char*"
message_callback_type="const char* _a"
fi
for i in "${INPUTS[@]}"; do
if [[ "$i" == autokernel_bridge ]]; then
Expand Down

0 comments on commit ade4b7b

Please sign in to comment.