Print this page
remove support for non-ANSI compilation

*** 21,30 **** --- 21,32 ---- /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_MNTTAB_H
*** 81,106 **** size_t mbuf_bufsize; char *mbuf_buf; }; #if !defined(_KERNEL) - #ifdef __STDC__ extern void resetmnttab(FILE *); extern int getmntent(FILE *, struct mnttab *); extern int getextmntent(FILE *, struct extmnttab *, size_t); extern int getmntany(FILE *, struct mnttab *, struct mnttab *); extern char *hasmntopt(struct mnttab *, char *); extern char *mntopt(char **); - #else - extern void resetmnttab(); - extern int getmntent(); - extern int getextmntent(); - extern int getmntany(); - extern char *hasmntopt(); - extern char *mntopt(); #endif - #endif #ifdef __cplusplus } #endif --- 83,99 ----