summaryrefslogtreecommitdiff
path: root/util-linux/mdev.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-05 09:18:54 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-05 09:18:54 +0000
commita60f84ebf07863e390b72a2b6150e461a1ec18e9 (patch)
treef59bc665cfe3d2d32622450d80523e3c1265e501 /util-linux/mdev.c
parentf6efccc0659a2e2978f2021153f34ce92257ad2b (diff)
downloadbusybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.gz
busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.bz2
busybox-w32-a60f84ebf07863e390b72a2b6150e461a1ec18e9.zip
*: rename ATTRIBUTE_XXX to just XXX.
Diffstat (limited to 'util-linux/mdev.c')
-rw-r--r--util-linux/mdev.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/util-linux/mdev.c b/util-linux/mdev.c
index bacccc02f..c7109373d 100644
--- a/util-linux/mdev.c
+++ b/util-linux/mdev.c
@@ -300,9 +300,9 @@ static void make_device(char *path, int delete)
300 300
301/* File callback for /sys/ traversal */ 301/* File callback for /sys/ traversal */
302static int FAST_FUNC fileAction(const char *fileName, 302static int FAST_FUNC fileAction(const char *fileName,
303 struct stat *statbuf ATTRIBUTE_UNUSED, 303 struct stat *statbuf UNUSED_PARAM,
304 void *userData, 304 void *userData,
305 int depth ATTRIBUTE_UNUSED) 305 int depth UNUSED_PARAM)
306{ 306{
307 size_t len = strlen(fileName) - 4; /* can't underflow */ 307 size_t len = strlen(fileName) - 4; /* can't underflow */
308 char *scratch = userData; 308 char *scratch = userData;
@@ -319,9 +319,9 @@ static int FAST_FUNC fileAction(const char *fileName,
319} 319}
320 320
321/* Directory callback for /sys/ traversal */ 321/* Directory callback for /sys/ traversal */
322static int FAST_FUNC dirAction(const char *fileName ATTRIBUTE_UNUSED, 322static int FAST_FUNC dirAction(const char *fileName UNUSED_PARAM,
323 struct stat *statbuf ATTRIBUTE_UNUSED, 323 struct stat *statbuf UNUSED_PARAM,
324 void *userData ATTRIBUTE_UNUSED, 324 void *userData UNUSED_PARAM,
325 int depth) 325 int depth)
326{ 326{
327 return (depth >= MAX_SYSFS_DEPTH ? SKIP : TRUE); 327 return (depth >= MAX_SYSFS_DEPTH ? SKIP : TRUE);