summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-08-22 17:49:59 +0000
committerrwatson <rwatson@FreeBSD.org>2003-08-22 17:49:59 +0000
commitf62e7b4be7705785731764278b48512c7d2c8942 (patch)
treea0b81387ac24b4e7677b4724d6ed1a9e498f5635 /lib
parent598a90a3bdeb68fc5fe0b64e43e4f44fa1b47931 (diff)
downloadFreeBSD-src-f62e7b4be7705785731764278b48512c7d2c8942.zip
FreeBSD-src-f62e7b4be7705785731764278b48512c7d2c8942.tar.gz
Make the elements argument to mac_prepare() be const.
Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/posix1e/mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/posix1e/mac.c b/lib/libc/posix1e/mac.c
index 3426ac3..def4bb2 100644
--- a/lib/libc/posix1e/mac.c
+++ b/lib/libc/posix1e/mac.c
@@ -331,7 +331,7 @@ mac_to_text(struct mac *mac, char **text)
}
int
-mac_prepare(struct mac **mac, char *elements)
+mac_prepare(struct mac **mac, const char *elements)
{
if (strlen(elements) >= MAC_MAX_LABEL_BUF_LEN)
OpenPOWER on IntegriCloud