diff options
author | rwatson <rwatson@FreeBSD.org> | 2003-08-22 17:49:59 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2003-08-22 17:49:59 +0000 |
commit | f62e7b4be7705785731764278b48512c7d2c8942 (patch) | |
tree | a0b81387ac24b4e7677b4724d6ed1a9e498f5635 /lib/libc/posix1e | |
parent | 598a90a3bdeb68fc5fe0b64e43e4f44fa1b47931 (diff) | |
download | FreeBSD-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/libc/posix1e')
-rw-r--r-- | lib/libc/posix1e/mac.c | 2 |
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) |