diff options
author | alfred <alfred@FreeBSD.org> | 2003-01-26 20:09:34 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2003-01-26 20:09:34 +0000 |
commit | 1cd571649a37a38ef29c79e02b6c8bf5d790691f (patch) | |
tree | ad46fcaeb6e294b2d44f75ea988e88f75a3c7951 /sys/sys/msg.h | |
parent | 19a663e554a3754424e305a92065ce8f0e96cfcf (diff) | |
download | FreeBSD-src-1cd571649a37a38ef29c79e02b6c8bf5d790691f.zip FreeBSD-src-1cd571649a37a38ef29c79e02b6c8bf5d790691f.tar.gz |
Add const qualifier to data argument for msgsnd.
PR: standards/45274
Submitted by: Craig Rodrigues <rodrigc@attbi.com>
Diffstat (limited to 'sys/sys/msg.h')
-rw-r--r-- | sys/sys/msg.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/sys/msg.h b/sys/sys/msg.h index 508e9be..7094e6c 100644 --- a/sys/sys/msg.h +++ b/sys/sys/msg.h @@ -127,8 +127,7 @@ int msgctl(int, int, struct msqid_ds *); int msgget(key_t, int); /* XXX return value should be ssize_t. */ int msgrcv(int, void *, size_t, long, int); -/* XXX second parameter missing const type-qualifier. */ -int msgsnd(int, void *, size_t, int); +int msgsnd(int, const void *, size_t, int); #if __BSD_VISIBLE int msgsys(int, ...); #endif |