OSDN Git Service
(root)
/
android-x86
/
external-e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c25f7e
)
Fix gcc -Wall warnings in libuuid
author
Theodore Ts'o
<tytso@mit.edu>
Sat, 7 Jun 2008 15:53:20 +0000
(11:53 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Sat, 7 Jun 2008 15:53:20 +0000
(11:53 -0400)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/uuid/tst_uuid.c
patch
|
blob
|
history
diff --git
a/lib/uuid/tst_uuid.c
b/lib/uuid/tst_uuid.c
index
47ff06c
..
086d35c
100644
(file)
--- a/
lib/uuid/tst_uuid.c
+++ b/
lib/uuid/tst_uuid.c
@@
-54,8
+54,14
@@
static int test_uuid(const char * uuid, int isValid)
return 0;
}
+#ifdef __GNUC__
+#define ATTR(x) __attribute__(x)
+#else
+#define ATTR(x)
+#endif
+
int
-main(int argc
, char **argv
)
+main(int argc
ATTR((unused)) , char **argv ATTR((unused))
)
{
uuid_t buf, tst;
char str[100];