Skip to content
Snippets Groups Projects
Commit 1283d5f6 authored by Niels Möller's avatar Niels Möller
Browse files

* 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
No related branches found
No related tags found
No related merge requests found
...@@ -11,15 +11,14 @@ ...@@ -11,15 +11,14 @@
* *
*/ */
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include "desinfo.h" #include "desinfo.h"
#include "desCode.h" #include "desCode.h"
#if __GNUC__
# define UNUSED __attribute__ ((__unused__))
#else
# define UNUSED
#endif
/* list of weak and semi-weak keys /* list of weak and semi-weak keys
......
#if HAVE_CONFIG_H
# include "config.h"
#endif
#include <math.h> #include <math.h>
#include <stdio.h> #include <stdio.h>
...@@ -13,7 +16,7 @@ static const unsigned primes[64] = ...@@ -13,7 +16,7 @@ static const unsigned primes[64] =
283, 293, 307, 311 283, 293, 307, 311
}; };
int main(int argc, char **argv) int main(int argc UNUSED, char **argv UNUSED)
{ {
int i; int i;
static const double third = 1.0/3; static const double third = 1.0/3;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment