From 863cf8134a4eee1826fda5143b27e394f1dacbe1 Mon Sep 17 00:00:00 2001 From: Pali Rohár Date: Sun, 23 Sep 2012 12:24:09 +0200 Subject: nolo_get_hwrev and nolo_set_hwrev - use int16_t --- src/nolo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nolo.h') diff --git a/src/nolo.h b/src/nolo.h index 2f93153..f603895 100644 --- a/src/nolo.h +++ b/src/nolo.h @@ -44,8 +44,8 @@ int nolo_set_rd_mode(struct usb_device_info * dev, int enable); int nolo_get_rd_flags(struct usb_device_info * dev, char * flags, size_t size); int nolo_set_rd_flags(struct usb_device_info * dev, const char * flags); -int nolo_get_hwrev(struct usb_device_info * dev, char * hwrev, size_t size); -int nolo_set_hwrev(struct usb_device_info * dev, const char * hwrev); +int16_t nolo_get_hwrev(struct usb_device_info * dev); +int nolo_set_hwrev(struct usb_device_info * dev, int16_t hwrev); int nolo_get_kernel_ver(struct usb_device_info * dev, char * ver, size_t size); int nolo_set_kernel_ver(struct usb_device_info * dev, const char * ver); -- cgit v1.2.3