Revision 4a0cf686 tools/patcheck

View differences:

tools/patcheck
72 72
hiegrep ' *static *'"$ERE_FUNCS"'[^)]*\);' 'static prototype, maybe you should reorder your functions' $*
73 73

  
74 74
hiegrep2 '\.long_name *=' 'NULL_IF_CONFIG_SMAL' 'missing NULL_IF_CONFIG_SMAL' $*
75
hiegrep2 '\.pix_fmts *= *(' 'const' 'missing const for pix_fmts array' $*
76
hiegrep2 '\.sample_fmts *= *(' 'const' 'missing const for sample_fmts array' $*
77
hiegrep2 '\.supported_framerates *= *(' 'const' 'missing const for supported_framerates array' $*
78
hiegrep2 '\.channel_layouts *= *(' 'const' 'missing const for channel_layouts array' $*
75
hiegrep2 '\.pix_fmts *= *\(' 'const' 'missing const for pix_fmts array' $*
76
hiegrep2 '\.sample_fmts *= *\(' 'const' 'missing const for sample_fmts array' $*
77
hiegrep2 '\.supported_framerates *= *\(' 'const' 'missing const for supported_framerates array' $*
78
hiegrep2 '\.channel_layouts *= *\(' 'const' 'missing const for channel_layouts array' $*
79 79

  
80 80
#egrep $OPT '^\+.*const ' $*| grep -v 'static'> $TMP && printf '\nnon static const\n'
81 81
#cat $TMP

Also available in: Unified diff