Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic extern is your friend. especially for variables ...
details: https://anonhg.NetBSD.org/src/rev/fd406e2653f3
branches: trunk
changeset: 780547:fd406e2653f3
user: matt <matt%NetBSD.org@localhost>
date: Sat Jul 28 23:06:30 2012 +0000
description:
extern is your friend. especially for variables in header files.
diffstat:
sys/dev/ic/matrixkpvar.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (11 lines):
diff -r 50a9c1f5c84a -r fd406e2653f3 sys/dev/ic/matrixkpvar.h
--- a/sys/dev/ic/matrixkpvar.h Sat Jul 28 23:04:45 2012 +0000
+++ b/sys/dev/ic/matrixkpvar.h Sat Jul 28 23:06:30 2012 +0000
@@ -53,6 +53,6 @@
void mxkp_set_leds(void *, int);
int mxkp_ioctl(void *, u_long, void *, int, struct lwp *);
-const struct wskbd_accessops mxkp_accessops;
+extern const struct wskbd_accessops mxkp_accessops;
#endif
Home |
Main Index |
Thread Index |
Old Index