Commit 0cecd080e598ff0ef1340c637c55de00ab7ad1eb

Authored by Georg Hopp
1 parent b5995828

ensure sec_factor is initialized

... ... @@ -16,5 +16,12 @@ coverage-html:
16 16 -$(MAKE) -C tests $(AM_MAKEFLAGS) -k $@
17 17 endif
18 18
  19 +REGEX_CCLASS=/^[ \t]*\(TR_CLASS\|TR_INTERFACE\)\(([a-zA-Z0-9_]+)/\2/d,definition/
19 20 tags:
20   - ctags -R -V --langdef=cclass --langmap=cclass:.h --regex-cclass='/^[ \t]*\(TR_CLASS\|TR_INTERFACE\)\(([a-zA-Z0-9_]+)/\2/d,definition/'
  21 + @ctags -R -V --langdef=cclass --langmap=cclass:.h \
  22 + --regex-cclass='$(REGEX_CCLASS)'
  23 +
  24 +loc:
  25 + @find src/ include/ -not -path testers -and -name "*.[ch]" \
  26 + -exec sed '/\/\*/,/\*\//d;/\/\//d' {} \; | wc -l
  27 +
... ...
... ... @@ -43,6 +43,7 @@ TR_timerGet(TR_Timer this, unsigned long * missed)
43 43 case TR_TBASE_MIC:
44 44 sec_factor = 1000 * 1000;
45 45 break;
  46 + default:
46 47 case TR_TBASE_MIL:
47 48 sec_factor = 1000;
48 49 break;
... ...
Please register or login to post a comment