Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/dev inline -> static inline
details: https://anonhg.NetBSD.org/src/rev/3132aabf74c2
branches: trunk
changeset: 768092:3132aabf74c2
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Mon Aug 08 14:49:06 2011 +0000
description:
inline -> static inline
For successful gcc 4.5 builds.
diffstat:
sys/arch/sparc64/dev/fdc.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r ffa930ac3adf -r 3132aabf74c2 sys/arch/sparc64/dev/fdc.c
--- a/sys/arch/sparc64/dev/fdc.c Mon Aug 08 12:17:27 2011 +0000
+++ b/sys/arch/sparc64/dev/fdc.c Mon Aug 08 14:49:06 2011 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index