Skip to content

Commit

Permalink
mkproto.sh: fix build with newer ctags
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Sep 14, 2024
1 parent c95a82d commit 9ef8815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libc/dj64/parsers/mkproto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export RTAGS
list_syms $TL T | xargs -I '{}' bash -c "extr_proto $TF '{}' ASMFUNC" | nl -n ln -v 0 >$1
list_syms $TL U | xargs -I '{}' bash -c "extr_proto $TF '{}' ASMCFUNC" | nl -n ln -v 0 >$2
echo "#define THUNK_INCS 1" >$3
list_syms2 $TL U T | xargs $RTAGS -t $TF | expand | tr -s '[:blank:]' | \
list_syms2 $TL U T | xargs -L 1 $RTAGS -t $TF | expand | tr -s '[:blank:]' | \
cut -d " " -f 2 | sort | uniq | \
sed -E 's/.*(include)\/(.*)/#\1 "\2"/' >>$3
shift 3
Expand Down

0 comments on commit 9ef8815

Please sign in to comment.