incorporate changes from Google
This commit is contained in:
parent
f8955f181e
commit
e17e1a71c2
6 changed files with 67 additions and 13 deletions
|
|
@ -1,12 +1,11 @@
|
|||
/* Copyright (c) 2002-2006 Lucent Technologies; see LICENSE */
|
||||
/* Copyright (c) 2004 Google Inc.; see LICENSE */
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <string.h>
|
||||
#include "plan9.h"
|
||||
#include "fmt.h"
|
||||
#include "fmtdef.h"
|
||||
|
||||
/* XXX GOOGLE COPYRIGHT */
|
||||
|
||||
/*
|
||||
* Fill in the internationalization stuff in the State structure.
|
||||
* For nil arguments, provide the sensible defaults:
|
||||
|
|
@ -35,7 +34,7 @@ fmtlocaleinit(Fmt *f, char *decimal, char *thousands, char *grouping)
|
|||
* and pointer into the grouping descriptor.
|
||||
*/
|
||||
int
|
||||
__needsep(int *ndig, const char **grouping)
|
||||
__needsep(int *ndig, char **grouping)
|
||||
{
|
||||
int group;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue