summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/subr.h
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2012-01-06 12:27:17 +0000
committerpjd <pjd@FreeBSD.org>2012-01-06 12:27:17 +0000
commita272071bf05251d395303fa3d1691da8080c3540 (patch)
tree5d2ccaeec5972938504e071bfdebc3367ff0a897 /sbin/hastd/subr.h
parent3c3da145a2e0f6cc3bfe90e4f3e213834f31f87e (diff)
downloadFreeBSD-src-a272071bf05251d395303fa3d1691da8080c3540.zip
FreeBSD-src-a272071bf05251d395303fa3d1691da8080c3540.tar.gz
Constify argument.
MFC after: 3 days
Diffstat (limited to 'sbin/hastd/subr.h')
-rw-r--r--sbin/hastd/subr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/hastd/subr.h b/sbin/hastd/subr.h
index e76930a..c765754 100644
--- a/sbin/hastd/subr.h
+++ b/sbin/hastd/subr.h
@@ -51,6 +51,6 @@ int snprlcat(char *str, size_t size, const char *fmt, ...);
int provinfo(struct hast_resource *res, bool dowrite);
const char *role2str(int role);
-int drop_privs(struct hast_resource *res);
+int drop_privs(const struct hast_resource *res);
#endif /* !_SUBR_H_ */
OpenPOWER on IntegriCloud