summaryrefslogtreecommitdiffstats
path: root/src/defid
diff options
context:
space:
mode:
Diffstat (limited to 'src/defid')
-rw-r--r--src/defid6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/defid b/src/defid
new file mode 100644
index 0000000..5c04bc6
--- /dev/null
+++ b/src/defid
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+for sym
+do
+ gid $sym |egrep '(}[ ]*|:[ ]*#[ ]*define[ ]+)'$sym'|'typedef\>.*[ ]+'$sym
+done