mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-12 14:20:13 +00:00
(shmget): Correct type of size parameter.
This commit is contained in:
parent
c8cd1b8e70
commit
ce8f0b262c
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user