From 7bbba4527da175e726d6235df33c072f47674021 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 26 Oct 2017 11:01:58 +0200 Subject: cyber: hide internal symbols --- src/cyber_device_device_class.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/cyber_device_device_class.c') diff --git a/src/cyber_device_device_class.c b/src/cyber_device_device_class.c index 56795e3..98e9557 100644 --- a/src/cyber_device_device_class.c +++ b/src/cyber_device_device_class.c @@ -25,17 +25,17 @@ extern struct cyber_device device; -ssize_t available_show(struct class * class, struct class_attribute * attribute, char * __user buffer) +static ssize_t available_show(struct class * class, struct class_attribute * attribute, char * __user buffer) { return sprintf(buffer, "infinite\n"); } -CLASS_ATTR_RO(available); +static CLASS_ATTR_RO(available); -ssize_t storage_technology_show(struct class * class, struct class_attribute * attribute, char * __user buffer) +static ssize_t storage_technology_show(struct class * class, struct class_attribute * attribute, char * __user buffer) { return sprintf(buffer, "condensed di-hydrogen-monoxide\n"); } -CLASS_ATTR_RO(storage_technology); +static CLASS_ATTR_RO(storage_technology); static int cyber_device_handle_uevent(struct device * kernelDevice, struct kobj_uevent_env * environment) { -- cgit v1.2.3