]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(shmget): Correct type of size parameter.
authorUlrich Drepper <drepper@redhat.com>
Sun, 19 Dec 1999 01:30:27 +0000 (01:30 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 19 Dec 1999 01:30:27 +0000 (01:30 +0000)
sysvipc/sys/shm.h

index 47e0f496a2a2fc6b77ee3ef04316c91924c62dfb..adfb2af1ef349d1629a841efddb244576a4da0c3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -43,7 +43,7 @@ __BEGIN_DECLS
 extern int shmctl __P ((int __shmid, int __cmd, struct shmid_ds *__buf));
 
 /* Get shared memory segment.  */
-extern int shmget __P ((key_t __key, int __size, int __shmflg));
+extern int shmget __P ((key_t __key, size_t __size, int __shmflg));
 
 /* Attach shared memory segment.  */
 extern void *shmat __P ((int __shmid, __const void *__shmaddr, int __shmflg));