From: Ulrich Drepper Date: Fri, 17 Mar 2000 03:25:57 +0000 (+0000) Subject: Mark second parameter as const. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=800be20593b033e46c4672f7feb556d6c697ca99;p=thirdparty%2Fglibc.git Mark second parameter as const. --- diff --git a/sysdeps/generic/msgsnd.c b/sysdeps/generic/msgsnd.c index 993895290b7..a2d853c3040 100644 --- a/sysdeps/generic/msgsnd.c +++ b/sysdeps/generic/msgsnd.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , August 1995. @@ -29,7 +29,7 @@ int msgsnd (msqid, msgp, msgsz, msgflg) int msqid; - void *msgp; + const void *msgp; size_t msgsz; int msgflg; { diff --git a/sysdeps/unix/sysv/linux/msgsnd.c b/sysdeps/unix/sysv/linux/msgsnd.c index c279b2e52e4..63b253fcd9b 100644 --- a/sysdeps/unix/sysv/linux/msgsnd.c +++ b/sysdeps/unix/sysv/linux/msgsnd.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1997, 1998, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , August 1995. @@ -26,7 +26,7 @@ int msgsnd (msqid, msgp, msgsz, msgflg) int msqid; - void *msgp; + const void *msgp; size_t msgsz; int msgflg; {