Print this page
remove support for non-ANSI compilation
@@ -18,10 +18,12 @@
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright (c) 1997-1998 by Sun Microsystems, Inc.
* All rights reserved.
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
@@ -29,12 +31,10 @@
#ifndef _SYS_FBUF_H
#define _SYS_FBUF_H
-#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.3 */
-
#include <sys/vnode.h>
#ifdef __cplusplus
extern "C" {
#endif
@@ -51,19 +51,17 @@
struct fbuf {
caddr_t fb_addr;
uint_t fb_count;
};
-#if defined(__STDC__)
extern int fbread(struct vnode *, offset_t, uint_t, enum seg_rw,
struct fbuf **);
extern void fbzero(struct vnode *, offset_t, uint_t, struct fbuf **);
extern int fbwrite(struct fbuf *);
extern int fbdwrite(struct fbuf *);
extern int fbiwrite(struct fbuf *, struct vnode *, daddr_t bn, int bsize);
extern void fbrelse(struct fbuf *, enum seg_rw);
-#endif
#ifdef __cplusplus
}
#endif