diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-23 06:08:49 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-23 06:08:49 -0400 |
commit | b574421611bf0f07ce83af7551b28672d345a646 (patch) | |
tree | e092bc9fde1b7f593694cbd9d3df3f78cf079575 /maskaudit.py.in | |
parent | d98dc028de3db6b3c9782f9b3300d7bbf9ec5ddd (diff) | |
download | gpsd-b574421611bf0f07ce83af7551b28672d345a646.tar.gz |
Minor fixes to mask auditing code.
Diffstat (limited to 'maskaudit.py.in')
-rw-r--r-- | maskaudit.py.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/maskaudit.py.in b/maskaudit.py.in index 5e8276ac..93d52754 100644 --- a/maskaudit.py.in +++ b/maskaudit.py.in @@ -9,7 +9,7 @@ # # With -d, generate C code to dump demon-side masks for debugging purposes. # -# With -t, rtabulate usage of defines to find unused ones. Requires -c or -d. +# With -t, tabulate usage of defines to find unused ones. Requires -c or -d. import sys, commands, glob, getopt @@ -18,7 +18,7 @@ class SourceExtractor: self.sourcefile = sourcefile self.suffix = suffix self.clientside = clientside - self.daemonfiles = ["gpsd.c", "libgpsd_core.c", "pseudonmea.c"] + glob.glob("driver_*.c") + ["gpsmon.c", "subframe.c"] + glob.glob("monitor_*.c") + self.daemonfiles = ["gpsd.c", "libgpsd_core.c", "pseudonmea.c", "drivers.c"] + glob.glob("driver_*.c") + ["gpsmon.c", "subframe.c"] + glob.glob("monitor_*.c") self.masks = [] self.primitive_masks = [] for line in file(self.sourcefile): @@ -72,7 +72,7 @@ if __name__ == '__main__': banner = "Daemon" if tabulate: - print "%-14s %8s %8s" % (" ", "Library", banner) + print "%-14s %8s" % (" ", banner) for (flag, value) in source.masks: print "%-14s %8s" % (flag, source.relevant(flag)) if pythonize: |