-int main(int argc, char *argv[]) {
+static int main(int argc, char *argv[]) {
         return 0;
  }

I find that your update suggestion shows a bad example because the function "main" should not be marked as "static", should it?
http://en.wikipedia.org/wiki/Main_function#C_and_C.2B.2B

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

Reply via email to