diff options
| author | Dan Nicolaescu | 2010-11-18 13:39:15 -0800 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-11-18 13:39:15 -0800 |
| commit | 94fa383385a237b800e9096c4fb3019f5cd359ae (patch) | |
| tree | 0183f9b6a7998589f29f1adc670c743f93e46ffe /src | |
| parent | dde990a0f97fee13deaedf324db1d100362ca362 (diff) | |
| download | emacs-94fa383385a237b800e9096c4fb3019f5cd359ae.tar.gz emacs-94fa383385a237b800e9096c4fb3019f5cd359ae.zip | |
* src/strftime.c (_strftime_copytm): Add declaration.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/strftime.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index afe3e6db046..cebb4fc97ed 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2010-11-18 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2010-11-18 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | * strftime.c (_strftime_copytm): Add declaration. | ||
| 4 | |||
| 3 | * callproc.c (syms_of_callproc): Use intern_c_string. | 5 | * callproc.c (syms_of_callproc): Use intern_c_string. |
| 4 | 6 | ||
| 5 | Move declarations from .c files to .h files. | 7 | Move declarations from .c files to .h files. |
diff --git a/src/strftime.c b/src/strftime.c index e372e86ec8d..5a0923e3723 100644 --- a/src/strftime.c +++ b/src/strftime.c | |||
| @@ -461,6 +461,9 @@ static CHAR_T const month_name[][10] = | |||
| 461 | /* Solaris 2.5 tzset sometimes modifies the storage returned by localtime. | 461 | /* Solaris 2.5 tzset sometimes modifies the storage returned by localtime. |
| 462 | Work around this bug by copying *tp before it might be munged. */ | 462 | Work around this bug by copying *tp before it might be munged. */ |
| 463 | size_t | 463 | size_t |
| 464 | _strftime_copytm (CHAR_T *s, size_t maxsize, const CHAR_T *format, | ||
| 465 | const struct tm *tp extra_args_spec LOCALE_PARAM_DECL); | ||
| 466 | size_t | ||
| 464 | my_strftime (CHAR_T *s, size_t maxsize, const CHAR_T *format, | 467 | my_strftime (CHAR_T *s, size_t maxsize, const CHAR_T *format, |
| 465 | const struct tm *tp extra_args_spec) | 468 | const struct tm *tp extra_args_spec) |
| 466 | { | 469 | { |