-/* $OpenBSD: uoak.h,v 1.4 2022/01/09 05:43:01 jsg Exp $ */
+/* $OpenBSD: uoak.h,v 1.5 2022/04/09 20:09:03 naddy Exp $ */
/*
* Copyright (c) 2012 Yojiro UO <yuo@nui.org>
struct uoak_config sc_config[OAK_TARGET_MAXTYPES];
/* device specific methods */
- struct uoak_methods *sc_methods;
+ const struct uoak_methods *sc_methods;
};
-/* $OpenBSD: uoaklux.c,v 1.16 2022/01/09 05:43:01 jsg Exp $ */
+/* $OpenBSD: uoaklux.c,v 1.17 2022/04/09 20:09:03 naddy Exp $ */
/*
* Copyright (c) 2012 Yojiro UO <yuo@nui.org>
uoaklux_detach,
};
-struct uoak_methods uoaklux_methods = {
+const struct uoak_methods uoaklux_methods = {
uoaklux_dev_print,
uoaklux_dev_setting
};
-/* $OpenBSD: uoakrh.c,v 1.18 2022/01/09 05:43:01 jsg Exp $ */
+/* $OpenBSD: uoakrh.c,v 1.19 2022/04/09 20:09:03 naddy Exp $ */
/*
* Copyright (c) 2012 Yojiro UO <yuo@nui.org>
uoakrh_detach,
};
-struct uoak_methods uoakrh_methods = {
+const struct uoak_methods uoakrh_methods = {
uoakrh_dev_print,
uoakrh_dev_setting
};
-/* $OpenBSD: uoakv.c,v 1.16 2022/01/09 05:43:02 jsg Exp $ */
+/* $OpenBSD: uoakv.c,v 1.17 2022/04/09 20:09:03 naddy Exp $ */
/*
* Copyright (c) 2012 Yojiro UO <yuo@nui.org>
};
-struct uoak_methods uoakv_methods = {
+const struct uoak_methods uoakv_methods = {
uoakv_dev_print,
uoakv_dev_setting
};