* times.cc (timeval_to_filetime): Define first parameter const.
(utimes): Define second parameter to const according to SUSv3. (utime): Ditto. * include/sys/utime.h (utime) : Change declaration accordingly.
This commit is contained in:
@ -21,7 +21,7 @@ struct utimbuf
|
||||
time_t modtime;
|
||||
};
|
||||
|
||||
int _EXFUN(utime, (const char *__path, struct utimbuf *__buf));
|
||||
int _EXFUN(utime, (const char *__path, const struct utimbuf *__buf));
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
|
Reference in New Issue
Block a user