yann@1: Fixes compilation with gcc-3.4.0: yann@1: yann@1: mntent_r.c: In function `__getmntent_r': yann@1: mntent_r.c:146: error: label at end of compound statement yann@1: mntent_r.c: In function `__addmntent': yann@1: mntent_r.c:214: warning: implicit declaration of function `alloca' yann@1: yann@1: http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/misc/mntent_r.c.diff?r1=1.9&r2=1.11&cvsroot=glibc yann@1: yann@1: =================================================================== yann@1: RCS file: /cvs/glibc/libc/misc/mntent_r.c,v yann@1: retrieving revision 1.9 yann@1: retrieving revision 1.11 yann@1: diff -u -r1.9 -r1.11 yann@1: --- libc/misc/mntent_r.c 1999/07/26 01:45:32 1.9 yann@1: +++ libc/misc/mntent_r.c 2000/11/28 07:27:14 1.11 yann@1: @@ -1,5 +1,5 @@ yann@1: /* Utilities for reading/writing fstab, mtab, etc. yann@1: - Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. yann@1: + Copyright (C) 1995,1996,1997,1998,1999,2000 Free Software Foundation, Inc. yann@1: This file is part of the GNU C Library. yann@1: yann@1: The GNU C Library is free software; you can redistribute it and/or yann@1: @@ -17,6 +17,7 @@ yann@1: write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, yann@1: Boston, MA 02111-1307, USA. */ yann@1: yann@1: +#include yann@1: #include yann@1: #include yann@1: #include yann@1: @@ -143,6 +144,7 @@ yann@1: case 1: yann@1: mp->mnt_passno = 0; yann@1: case 2: yann@1: + break; yann@1: } yann@1: funlockfile (stream); yann@1: