patch: new patch pattern static_variable.cocci

make symbol {{variable}} static

symbol '{{variable}}' was not declared. It should be static.

Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
patch: new patch pattern static_function.cocci

make local function {{function}} static

function '{{function}}' was not declared. It should it be static.

Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>