summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/bsd-misc.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2022-02-25 05:14:22 +0100
committerDarren Tucker <dtucker@dtucker.net>2022-02-25 05:14:22 +0100
commit8e206e0dd6b9f757b07979e48f53ad5bf9b7b52b (patch)
tree9741c0a3079dadb3f9fb0642f68e7c8a0e9acee8 /openbsd-compat/bsd-misc.h
parentANSIfy getshort and getlong. (diff)
downloadopenssh-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.h2
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