summaryrefslogtreecommitdiffstats
path: root/tools/sed-structs
diff options
context:
space:
mode:
Diffstat (limited to 'tools/sed-structs')
-rw-r--r--tools/sed-structs14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/sed-structs b/tools/sed-structs
deleted file mode 100644
index 1b7afdf..0000000
--- a/tools/sed-structs
+++ /dev/null
@@ -1,14 +0,0 @@
-
-s/^\s*typedef\s+struct\s+(\w+)\s+(\w+)\s*;.*$/typedef struct \1 \2;/
-t finish
-/^\s*typedef\s+struct.*[^;].*/ ! b
-h
-:loop
-n
-/^\s*\}/ ! b loop
-s/^\s*\}\s*(\w+)\s*;.*$/\1;/
-H;x
-s/\n/ /g
-:finish
-s/ {2,}/ /g
-p