gcc 5, my patience is waning.

This commit is contained in:
christos 2016-03-17 00:42:49 +00:00
parent 43c3c3f74a
commit ede51e408c
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: stdio.h,v 1.96 2015/03/24 07:44:52 wiz Exp $ */
/* $NetBSD: stdio.h,v 1.97 2016/03/17 00:42:49 christos Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -483,7 +483,7 @@ static __inline int __sputc(int _c, FILE *_p) {
#define __sfeof(p) (((p)->_flags & __SEOF) != 0)
#define __sferror(p) (((p)->_flags & __SERR) != 0)
#define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR|__SEOF)))
#define __sclearerr(p) ((void)((p)->_flags &= (unsigned short)~(__SERR|__SEOF)))
#define __sfileno(p) \
((p)->_file == -1 ? -1 : (int)(unsigned short)(p)->_file)