Module Name: src
Committed By: jakllsch
Date: Mon Aug 8 14:49:06 UTC 2011
Modified Files:
src/sys/arch/sparc64/dev: fdc.c
Log Message:
inline -> static inline
For successful gcc 4.5 builds.
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/sparc64/dev/fdc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/sparc64/dev/fdc.c
diff -u src/sys/arch/sparc64/dev/fdc.c:1.35 src/sys/arch/sparc64/dev/fdc.c:1.36
--- src/sys/arch/sparc64/dev/fdc.c:1.35 Fri Jun 3 02:48:33 2011
+++ src/sys/arch/sparc64/dev/fdc.c Mon Aug 8 14:49:06 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: fdc.c,v 1.35 2011/06/03 02:48:33 christos Exp $ */
+/* $NetBSD: fdc.c,v 1.36 2011/08/08 14:49:06 jakllsch Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdc.c,v 1.35 2011/06/03 02:48:33 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdc.c,v 1.36 2011/08/08 14:49:06 jakllsch Exp $");
#include "opt_ddb.h"
#include "opt_md.h"
@@ -257,7 +257,7 @@
fdcmatch_ebus, fdcattach_ebus, NULL, NULL);
#endif
-inline struct fd_type *fd_dev_to_type(struct fd_softc *, dev_t);
+static inline struct fd_type *fd_dev_to_type(struct fd_softc *, dev_t);
/*
* Floppies come in various flavors, e.g., 1.2MB vs 1.44MB; here is how
@@ -993,7 +993,7 @@
}
-inline struct fd_type *
+static inline struct fd_type *
fd_dev_to_type(struct fd_softc *fd, dev_t dev)
{
int type = FDTYPE(dev);