From: Ralf Corsépius Date: Wed, 12 Sep 2007 07:05:35 +0000 (+0200) Subject: Remove splint annotation from getdate.c. X-Git-Tag: rpm-4.6.0-rc1~1876 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d70d21b878fc31a59c80ba2a3be4ed3fadda2ad9;p=platform%2Fupstream%2Frpm.git Remove splint annotation from getdate.c. --- diff --git a/lib/Makefile.am b/lib/Makefile.am index 11e3aba..65bc122 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -47,21 +47,12 @@ getdate.c: getdate.y @echo expect 10 shift/reduce conflicts $(YACC) $(srcdir)/getdate.y -@if test -f y.tab.c; then \ - { echo "/*@-globstate -statictrans -unqualifiedtrans -noparams @*/";\ - echo "/*@-retvalint -usedef -varuse -nullderef -nullassign @*/";\ - echo "/*@-readonlytrans -modunconnomods -compdef -noeffectuncon @*/";\ - echo "/*@-globs -evalorderuncon -modobserveruncon -modnomods @*/";\ - echo "/*@unused@*/";\ - sed -e 's,y.tab.c,getdate.c,' y.tab.c \ + { sed -e 's,y.tab.c,getdate.c,' y.tab.c \ -e 's,^YYSTYPE ,static &,' \ -e 's,^short ,static &,' \ -e 's,^const short ,static &,' \ -e 's,^int yydebug,/*@unused@*/ static &,' \ -e 's,^int ,static &,' ;\ - echo "/*@=globs =evalorderuncon =modobserveruncon =modnomods @*/";\ - echo "/*@=readonlytrans =modunconnomods =compdef =noeffectuncon @*/";\ - echo "/*@=retvalint =usedef =varuse =nullderef =nullassign @*/";\ - echo "/*@=globstate =statictrans =unqualifiedtrans =noparams @*/";\ } > getdate.c ;\ rm -f y.tab.c; \ else \