diff options
author | Niels Möller <nisse@lysator.liu.se> | 2002-11-21 23:28:14 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2002-11-21 23:28:14 +0100 |
commit | 1283d5f6ace4cf8514e743c5563e07ecad5452cf (patch) | |
tree | f1f32edd6e3e78fb8a2694fee7c5f864a0040b35 | |
parent | bc63438c23cae6d876b4c424cfbe5f37b3468475 (diff) | |
download | nettle-1283d5f6ace4cf8514e743c5563e07ecad5452cf.tar.gz |
* desdata.c: Include config.h, to get definition of UNUSED.
* shadata.c: Likewise.
Rev: src/nettle/desdata.c:1.2
Rev: src/nettle/shadata.c:1.2
-rw-r--r-- | desdata.c | 9 | ||||
-rw-r--r-- | shadata.c | 5 |
2 files changed, 8 insertions, 6 deletions
@@ -11,15 +11,14 @@ * */ +#if HAVE_CONFIG_H +# include "config.h" +#endif + #include "desinfo.h" #include "desCode.h" -#if __GNUC__ -# define UNUSED __attribute__ ((__unused__)) -#else -# define UNUSED -#endif /* list of weak and semi-weak keys @@ -1,3 +1,6 @@ +#if HAVE_CONFIG_H +# include "config.h" +#endif #include <math.h> #include <stdio.h> @@ -13,7 +16,7 @@ static const unsigned primes[64] = 283, 293, 307, 311 }; -int main(int argc, char **argv) +int main(int argc UNUSED, char **argv UNUSED) { int i; static const double third = 1.0/3; |