aboutsummaryrefslogtreecommitdiff
path: root/src/cyber_device_device_class.c
diff options
context:
space:
mode:
authorFelix Morgner <fmorgner@hsr.ch>2017-10-26 11:01:58 +0200
committerFelix Morgner <fmorgner@hsr.ch>2017-10-26 11:02:43 +0200
commit7bbba4527da175e726d6235df33c072f47674021 (patch)
treea3b72df32ff0ebb6513876c3d259d401a770be59 /src/cyber_device_device_class.c
parent2532edf4aa4c3637a631f7dfc8b85367f9d9df28 (diff)
downloaddev-cyber-7bbba4527da175e726d6235df33c072f47674021.tar.xz
dev-cyber-7bbba4527da175e726d6235df33c072f47674021.zip
cyber: hide internal symbolsv42.1729
Diffstat (limited to 'src/cyber_device_device_class.c')
-rw-r--r--src/cyber_device_device_class.c8
1 files changed, 4 insertions, 4 deletions
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)
{