diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-01 08:44:32 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-01 08:44:32 +0000 |
| commit | 6ea20a5068e47476eec62bd81115f24bbb88551c (patch) | |
| tree | d7ed01a7a4d6f10584c70c962abc0ef1fe36ca84 /missing | |
| parent | b550311f90f3a408bc712889abfb757f56ab4499 (diff) | |
| download | ruby-6ea20a5068e47476eec62bd81115f24bbb88551c.tar.gz ruby-6ea20a5068e47476eec62bd81115f24bbb88551c.tar.xz ruby-6ea20a5068e47476eec62bd81115f24bbb88551c.zip | |
* iseq.c (COMPILE_OPTION_FALSE), time.c (timegm_noleapsecond),
thread.c (eKillSignal, eTerminateSignal),
missing/vsnprintf.c (BSD_vfprintf): constified.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing')
| -rw-r--r-- | missing/vsnprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/missing/vsnprintf.c b/missing/vsnprintf.c index dfa034844..d7545fdf2 100644 --- a/missing/vsnprintf.c +++ b/missing/vsnprintf.c @@ -564,9 +564,9 @@ BSD_vfprintf(FILE *fp, const char *fmt0, va_list ap) * below longer. */ #define PADSIZE 16 /* pad chunk size */ - static char blanks[PADSIZE] = + static const char blanks[PADSIZE] = {' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' '}; - static char zeroes[PADSIZE] = + static const char zeroes[PADSIZE] = {'0','0','0','0','0','0','0','0','0','0','0','0','0','0','0','0'}; /* |
