aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-03-13 11:06:55 +0100
committerThomas White <taw@physics.org>2017-03-13 11:06:55 +0100
commit8986433c649932c651b11719a31ba842f283fa2e (patch)
tree070bd3135d2f7ec406b41cee689803d922acbf6a /libcrystfel
parent08dc0c910402124d23d90ac5f910b81786f673c1 (diff)
Ask for C99 in configure.ac, remove weird C99 declarations
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/asdf.c2
-rw-r--r--libcrystfel/src/detector.c2
-rw-r--r--libcrystfel/src/events.c3
-rw-r--r--libcrystfel/src/image.c1
-rw-r--r--libcrystfel/src/reflist-utils.c2
-rw-r--r--libcrystfel/src/statistics.c1
6 files changed, 0 insertions, 11 deletions
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>