On Thu, Aug 23, 2007 at 09:36:31PM +0100, Ian Chapman wrote: > <snip> > int open(const char *pathname, int flags, ...) When it defines its own open implementation, you should just prevent expanding it as function-like macro. So int (open)(const char *pathname, int flags, ...) { ... } Jakub