Commit 1283d5f6 authored by Niels Möller's avatar Niels Möller

* 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
parent bc63438c
......@@ -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
......
#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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment