extern is your friend. especially for variables in header files.
This commit is contained in:
parent
695805a585
commit
9099962388
|
@ -53,6 +53,6 @@ int mxkp_enable(void *, int);
|
||||||
void mxkp_set_leds(void *, int);
|
void mxkp_set_leds(void *, int);
|
||||||
int mxkp_ioctl(void *, u_long, void *, int, struct lwp *);
|
int mxkp_ioctl(void *, u_long, void *, int, struct lwp *);
|
||||||
|
|
||||||
const struct wskbd_accessops mxkp_accessops;
|
extern const struct wskbd_accessops mxkp_accessops;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue