/* According to the ANSI-C standard, an unprototyped declaration of a function may not preceed or follow a prototyped declaration of that same function if the prototype for the function includes an ellipsis. In order to avoid running afowl of this rule, this file is provided for use with the GNU C compiler when it is installed on an Ultrix 4.1 system. This file may be used with the GNU C compiler and may be placed into the GNU_LIBDIR/gcc-include directory. GCC will then use it instead of your system's own native file. This file includes your native file and then makes sure that a proper prototype for the `open' function is provided. */ #ifndef _GNU_SYS_FILE_H #define _GNU_SYS_FILE_H #define open ___open #include #undef open #ifdef __STDC__ #define __(x) x #else #define __(x) () #endif extern int open __((const char *, int, ...)); #undef __ #endif /* !defined (_GNU_SYS_FILE_H) */