Make clock_t unsigned

This commit is contained in:
martin 2015-06-17 14:02:47 +00:00
parent 7be314e397
commit fe2be58712
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ansi.h,v 1.24 2011/07/17 20:54:36 joerg Exp $ */
/* $NetBSD: ansi.h,v 1.25 2015/06/17 14:02:47 martin Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -47,7 +47,7 @@
* #undef _BSD_SIZE_T_
* #endif
*/
#define _BSD_CLOCK_T_ int /* clock() */
#define _BSD_CLOCK_T_ unsigned int /* clock() */
#define _BSD_PTRDIFF_T_ long /* ptr1 - ptr2 */
#define _BSD_SIZE_T_ unsigned long /* sizeof() */
#define _BSD_SSIZE_T_ long /* byte count or error */

View File

@ -1,4 +1,4 @@
/* $NetBSD: ansi.h,v 1.17 2011/07/17 20:54:47 joerg Exp $ */
/* $NetBSD: ansi.h,v 1.18 2015/06/17 14:02:47 martin Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -46,7 +46,7 @@
* #undef _BSD_SIZE_T_
* #endif
*/
#define _BSD_CLOCK_T_ int /* clock() */
#define _BSD_CLOCK_T_ unsigned int /* clock() */
#define _BSD_PTRDIFF_T_ long /* ptr1 - ptr2 */
#define _BSD_SIZE_T_ unsigned long /* sizeof() */
#define _BSD_SSIZE_T_ long /* byte count or error */