Skip to content
Snippets Groups Projects
Commit 3e916da0 authored by Andrew Cooks's avatar Andrew Cooks
Browse files

add cleanup step to remove the RET() macro

parent 70624e08
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,12 @@ sed -i 's|\s*EXIT\s*;||g' *.c
sed -i 's|.*#define\s\+EXIT.*||' *.h
# remove the use of the RET() macro
sed -i 's|\(\s\+\)RET(\(.*\));|\1return \2;|' *.c
# remove the definition of the RET() macro
sed -i 's|.*#define\s\+RET\(.*\).*||' *.h
# Insert new cleanup steps above this comment.
# Keep Lindent as the last step.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment