diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-28 16:09:47 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-28 16:09:47 +0000 |
commit | 4917fb20a07aa3221683c8a2112c514f44594350 (patch) | |
tree | 3584e6988f6bcddd19ea9d77c040e02d659a79c9 /src/util/getopt.c | |
parent | 636b3202c2ea8ebc6dd51a90c839a2e495ea0d27 (diff) | |
download | gnunet-4917fb20a07aa3221683c8a2112c514f44594350.tar.gz gnunet-4917fb20a07aa3221683c8a2112c514f44594350.zip |
introducing GNUNET_UNUSED macro instead of hard-coding gcc attribute all over the place; also some further documentation fixes
Diffstat (limited to 'src/util/getopt.c')
-rw-r--r-- | src/util/getopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/getopt.c b/src/util/getopt.c index 317bc0748..6c63cb339 100644 --- a/src/util/getopt.c +++ b/src/util/getopt.c | |||
@@ -258,7 +258,7 @@ extern pid_t __libc_pid; | |||
258 | is valid for the getopt call we must make sure that the ARGV passed | 258 | is valid for the getopt call we must make sure that the ARGV passed |
259 | to getopt is that one passed to the process. */ | 259 | to getopt is that one passed to the process. */ |
260 | static void | 260 | static void |
261 | __attribute__ ((unused)) store_args_and_env (int argc, char *const *argv) | 261 | GNUNET_UNUSED store_args_and_env (int argc, char *const *argv) |
262 | { | 262 | { |
263 | /* XXX This is no good solution. We should rather copy the args so | 263 | /* XXX This is no good solution. We should rather copy the args so |
264 | * that we can compare them later. But we must not use malloc(3). */ | 264 | * that we can compare them later. But we must not use malloc(3). */ |