Messages in this thread | | | Date | Fri, 27 Dec 2002 21:54:26 -0800 | From | Richard Henderson <> | Subject | Re: [PATCH] Mark deprecated functions so they give a warning on use |
| |
On Sat, Dec 28, 2002 at 11:57:10AM +1100, Rusty Russell wrote: > +#define __DEPRECATED(msg) ({DEPRECATED_##msg: 1; }) [...] > +#define check_region(start,n) __DEPRECATED(use_request_region_return_value), __check_region(&ioport_resource, (start), (n))
So now it's a syntax error to use check_region twice in the same function?
r~ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |