diff options
author | Darren Tucker <dtucker@dtucker.net> | 2022-02-25 05:14:22 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2022-02-25 05:14:22 +0100 |
commit | 8e206e0dd6b9f757b07979e48f53ad5bf9b7b52b (patch) | |
tree | 9741c0a3079dadb3f9fb0642f68e7c8a0e9acee8 /openbsd-compat/bsd-misc.h | |
parent | ANSIfy getshort and getlong. (diff) | |
download | openssh-8e206e0dd6b9f757b07979e48f53ad5bf9b7b52b.tar.xz openssh-8e206e0dd6b9f757b07979e48f53ad5bf9b7b52b.zip |
Constify utimes in compat library to match specs.
Patch from vapier at chromium.org.
Diffstat (limited to '')
-rw-r--r-- | openbsd-compat/bsd-misc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h index 2206e1a82..61ead1b7f 100644 --- a/openbsd-compat/bsd-misc.h +++ b/openbsd-compat/bsd-misc.h @@ -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 |