diff options
author | Thomas White <taw@physics.org> | 2017-03-13 11:06:55 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2017-03-13 11:06:55 +0100 |
commit | 8986433c649932c651b11719a31ba842f283fa2e (patch) | |
tree | 070bd3135d2f7ec406b41cee689803d922acbf6a | |
parent | 08dc0c910402124d23d90ac5f910b81786f673c1 (diff) |
Ask for C99 in configure.ac, remove weird C99 declarations
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | libcrystfel/src/asdf.c | 2 | ||||
-rw-r--r-- | libcrystfel/src/detector.c | 2 | ||||
-rw-r--r-- | libcrystfel/src/events.c | 3 | ||||
-rw-r--r-- | libcrystfel/src/image.c | 1 | ||||
-rw-r--r-- | libcrystfel/src/reflist-utils.c | 2 | ||||
-rw-r--r-- | libcrystfel/src/statistics.c | 1 |
7 files changed, 1 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac index 8044a145..a570abe4 100644 --- a/configure.ac +++ b/configure.ac @@ -8,6 +8,7 @@ AM_INIT_AUTOMAKE([subdir-objects]) AC_PROG_CC gl_EARLY AM_PROG_CC_C_O +AC_PROG_CC_C99 AC_PROG_AWK AC_PROG_INSTALL AC_PROG_LN_S diff --git a/libcrystfel/src/asdf.c b/libcrystfel/src/asdf.c index 49917ad9..033688ba 100644 --- a/libcrystfel/src/asdf.c +++ b/libcrystfel/src/asdf.c @@ -28,8 +28,6 @@ * */ -#define _ISOC99_SOURCE - #ifdef HAVE_CONFIG_H #include <config.h> #endif diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c index 8c98f79e..90dbe535 100644 --- a/libcrystfel/src/detector.c +++ b/libcrystfel/src/detector.c @@ -31,8 +31,6 @@ * */ -#define _ISOC99_SOURCE -#define _GNU_SOURCE #include <stdlib.h> #include <math.h> #include <stdio.h> diff --git a/libcrystfel/src/events.c b/libcrystfel/src/events.c index 0f170bb5..8e4eb861 100644 --- a/libcrystfel/src/events.c +++ b/libcrystfel/src/events.c @@ -27,9 +27,6 @@ * */ -#define _ISOC99_SOURCE -#define _GNU_SOURCE - #include "events.h" #include "utils.h" diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c index 7bb4cede..09f4958d 100644 --- a/libcrystfel/src/image.c +++ b/libcrystfel/src/image.c @@ -27,7 +27,6 @@ * */ -#define _ISOC99_SOURCE #include <stdlib.h> #include <assert.h> #include <math.h> diff --git a/libcrystfel/src/reflist-utils.c b/libcrystfel/src/reflist-utils.c index 4621f4f4..380a1b8a 100644 --- a/libcrystfel/src/reflist-utils.c +++ b/libcrystfel/src/reflist-utils.c @@ -27,8 +27,6 @@ * */ -#define _ISOC99_SOURCE -#define _GNU_SOURCE #include <math.h> #include <stdio.h> #include <assert.h> diff --git a/libcrystfel/src/statistics.c b/libcrystfel/src/statistics.c index 56273fdb..ccf35194 100644 --- a/libcrystfel/src/statistics.c +++ b/libcrystfel/src/statistics.c @@ -30,7 +30,6 @@ #include <config.h> #endif -#define _ISOC99_SOURCE #include <math.h> #include <stdlib.h> #include <gsl/gsl_errno.h> |