diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-03-20 03:26:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-03-20 03:26:18 +0000 |
commit | cfa805f95447e4320687657f119849e10c627805 (patch) | |
tree | 4aa2c3bca38044a829e8342f5e22945802757ae8 /sysdeps/stub | |
parent | c55caac80eb5de1b1bf273e38c6f01c6308f01b3 (diff) | |
download | glibc-cfa805f95447e4320687657f119849e10c627805.tar.gz glibc-cfa805f95447e4320687657f119849e10c627805.tar.xz glibc-cfa805f95447e4320687657f119849e10c627805.zip |
(msync): Add parameter `flags' to match generic prototype.
Diffstat (limited to 'sysdeps/stub')
-rw-r--r-- | sysdeps/stub/msync.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sysdeps/stub/msync.c b/sysdeps/stub/msync.c index 21421b73f1..c8cbe430a5 100644 --- a/sysdeps/stub/msync.c +++ b/sysdeps/stub/msync.c @@ -1,20 +1,20 @@ -/* Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. +/* Copyright (C) 1994, 1995, 1996, 1997 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 -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. -The GNU C Library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #include <sys/types.h> #include <sys/mman.h> @@ -25,7 +25,7 @@ Cambridge, MA 02139, USA. */ unpredictable before this is done. */ int -msync (caddr_t addr, size_t len) +msync (caddr_t addr, size_t len, int flags) { __set_errno (ENOSYS); return -1; |