diff options
| author | Rich Felker <dalias@aerifal.cx> | 2014-01-07 03:02:14 -0500 | 
|---|---|---|
| committer | Rich Felker <dalias@aerifal.cx> | 2014-01-07 03:02:14 -0500 | 
| commit | 1d23b3c9136f606276142ec0037ff78fbb95e26d (patch) | |
| tree | da8a6281b4cd6802f426bc3341eaac14c6d22e91 /include | |
| parent | 74998fbec13cb2d1c6a0952141b90f4216ab89e6 (diff) | |
| download | musl-1d23b3c9136f606276142ec0037ff78fbb95e26d.tar.gz | |
fix const-correctness of argument to stime
it's unclear what the historical signature for this function was, but
semantically, the argument should be a pointer to const, and this is
what glibc uses. correct programs should not be using this function
anyway, so it's unlikely to matter.
Diffstat (limited to 'include')
| -rw-r--r-- | include/time.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/include/time.h b/include/time.h index 70574093..dc880706 100644 --- a/include/time.h +++ b/include/time.h @@ -125,7 +125,7 @@ struct tm *getdate (const char *);  #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) -int stime(time_t *); +int stime(const time_t *);  time_t timegm(struct tm *);  #endif | 
