Print this page
remove support for non-ANSI compilation
*** 22,40 ****
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
* Copyright (c) 1996, 1999 by Sun Microsystems, Inc.
* All rights reserved.
*/
#ifndef _SYS_MOUNT_H
#define _SYS_MOUNT_H
- #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 11.10 */
-
#ifdef __cplusplus
extern "C" {
#endif
/*
--- 22,40 ----
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright (c) 1996, 1999 by Sun Microsystems, Inc.
* All rights reserved.
*/
#ifndef _SYS_MOUNT_H
#define _SYS_MOUNT_H
#ifdef __cplusplus
extern "C" {
#endif
/*
*** 74,84 ****
/*
* Maximum option string length accepted or returned by mount(2).
*/
#define MAX_MNTOPT_STR 1024 /* max length of mount options string */
! #if defined(__STDC__) && !defined(_KERNEL)
int mount(const char *, const char *, int, ...);
int umount(const char *);
int umount2(const char *, int);
#endif
--- 74,84 ----
/*
* Maximum option string length accepted or returned by mount(2).
*/
#define MAX_MNTOPT_STR 1024 /* max length of mount options string */
! #if !defined(_KERNEL)
int mount(const char *, const char *, int, ...);
int umount(const char *);
int umount2(const char *, int);
#endif