@@
local idexpression struct drm_device *n;
identifier func;
identifier dev;
expression p;
@@
-func(n)
+func(void)


Which I'd like to match:

void intel_setup_bios(struct drm_device *dev)

but I get nothing. I also tried
-func(struct drm_device *dev)
where dev is defined as an identifier but ... no good. What am I missing?

ron
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to