ISO/IEC 9899:1999: MB_CUR_MAX expands to a positive integer expression with

type size_t (not int).

(Incompatible ABI change, ignored due to a window of just two days.)
This commit is contained in:
kleink 2000-08-10 10:03:43 +00:00
parent e12dc92808
commit bc3eaa0a03
2 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: stdlib.h,v 1.46 2000/08/08 22:31:14 tshiozak Exp $ */
/* $NetBSD: stdlib.h,v 1.47 2000/08/10 10:03:43 kleink Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -95,7 +95,7 @@ typedef struct {
#define RAND_MAX 0x7fffffff
extern int __mb_cur_max;
extern size_t __mb_cur_max;
#define MB_CUR_MAX __mb_cur_max
__BEGIN_DECLS

View File

@ -1,4 +1,4 @@
/* $NetBSD: setlocale.c,v 1.18 2000/08/08 22:31:14 tshiozak Exp $ */
/* $NetBSD: setlocale.c,v 1.19 2000/08/10 10:03:43 kleink Exp $ */
/*
* Copyright (c) 1991, 1993
@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)setlocale.c 8.1 (Berkeley) 7/4/93";
#else
__RCSID("$NetBSD: setlocale.c,v 1.18 2000/08/08 22:31:14 tshiozak Exp $");
__RCSID("$NetBSD: setlocale.c,v 1.19 2000/08/10 10:03:43 kleink Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -84,7 +84,8 @@ static char current_categories[_LC_LAST][32] = {
"C",
"C"
};
int __mb_cur_max = 1;
size_t __mb_cur_max = 1;
/*
* The locales we are going to try and load