#88 Invalid prototype in errno.h

closed-fixed
nobody
2001-11-05
2001-11-05
Jim Barton
No

In errno.h, line 107, the function _errno is declared:

int* _errno();

If GCC warnings for prototypes are turned on, this
causes an invalid prototype error - it needs to be

int* _errno(void);

instead.

Discussion

  • Danny Smith
    Danny Smith
    2001-11-05

    • status: open --> closed-fixed
     
  • Danny Smith
    Danny Smith
    2001-11-05

    Logged In: YES
    user_id=11494

    Thanks. Committed to runtime CVS.