mirror of git://anongit.mindrot.org/openssh.git
Constify utimes in compat library to match specs.
Patch from vapier at chromium.org.
This commit is contained in:
parent
1b2920e3b6
commit
8e206e0dd6
|
@ -107,7 +107,7 @@ const char *strerror(int e)
|
|||
#endif
|
||||
|
||||
#ifndef HAVE_UTIMES
|
||||
int utimes(char *filename, struct timeval *tvp)
|
||||
int utimes(const char *filename, struct timeval *tvp)
|
||||
{
|
||||
struct utimbuf ub;
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ struct timeval {
|
|||
}
|
||||
#endif /* HAVE_STRUCT_TIMEVAL */
|
||||
|
||||
int utimes(char *, struct timeval *);
|
||||
int utimes(const char *, struct timeval *);
|
||||
#endif /* HAVE_UTIMES */
|
||||
|
||||
#ifndef AT_FDCWD
|
||||
|
|
Loading…
Reference in New Issue