summaryrefslogtreecommitdiff
path: root/ubi-utils/src/libubiold_sysfs.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-08-29 16:01:26 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-08-29 17:34:18 +0300
commite87f5a127d8606fa22957d0129e1c812db5ba3ce (patch)
treed981dbfaac81ae168455188ea661af81b33354e8 /ubi-utils/src/libubiold_sysfs.c
parent8ef59d2c9ca8675bf9676c49847826427d9b6d26 (diff)
ubi-utils: do not interfer with system namespace
Rename __unused to ubi_unused to avoid clashes with system namespace Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src/libubiold_sysfs.c')
-rw-r--r--ubi-utils/src/libubiold_sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ubi-utils/src/libubiold_sysfs.c b/ubi-utils/src/libubiold_sysfs.c
index c4860f6..5b42075 100644
--- a/ubi-utils/src/libubiold_sysfs.c
+++ b/ubi-utils/src/libubiold_sysfs.c
@@ -129,7 +129,7 @@ sysfs_read_dev_subst(const char *patt, unsigned int *major,
}
static int
-sysfs_read_ull(const char *file __unused, unsigned long long *num __unused)
+sysfs_read_ull(const char *file ubi_unused, unsigned long long *num ubi_unused)
{
return 0;
}
@@ -148,7 +148,7 @@ sysfs_read_ull_subst(const char *patt, unsigned long long *num, int n, ...)
}
static int
-sysfs_read_uint(const char *file __unused, unsigned int *num __unused)
+sysfs_read_uint(const char *file ubi_unused, unsigned int *num ubi_unused)
{
return 0;
}