OSDN Git Service
(root)
/
nkf
/
nkf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Suppress warnings on -ansi -Wextra
[nkf/nkf.git]
/
nkf.h
diff --git
a/nkf.h
b/nkf.h
index
7f41361
..
9f0f151
100755
(executable)
--- a/
nkf.h
+++ b/
nkf.h
@@
-174,6
+174,14
@@
void setbinmode(FILE *fp)
#define FALSE 0
#define TRUE 1
+#ifndef ARG_UNUSED
+#if defined(__GNUC__)
+# define ARG_UNUSED __attribute__ ((unused))
+#else
+# define ARG_UNUSED
+#endif
+#endif
+
#ifdef WIN32DLL
#include "nkf32.h"
#endif