Commit 5013ed1a authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Merge multiple definitions of precision constants.

parent 2715ee8e
...@@ -13,12 +13,10 @@ ...@@ -13,12 +13,10 @@
#include "error.h" #include "error.h"
#include "file.h" #include "file.h"
#include "binary.h" #include "binary.h"
#include "stream_fcommon.h"
#include "swap.h" #include "swap.h"
#define SINGLE_PRECISION 4
#define DOUBLE_PRECISION 8
enum { enum {
EXT_HEADER_LEN = 4, EXT_HEADER_LEN = 4,
}; };
......
...@@ -13,13 +13,10 @@ ...@@ -13,13 +13,10 @@
#include "error.h" #include "error.h"
#include "file.h" #include "file.h"
#include "binary.h" #include "binary.h"
#include "stream_fcommon.h"
#include "swap.h" #include "swap.h"
#define SINGLE_PRECISION 4
#define DOUBLE_PRECISION 8
static int initIegLib = 0; static int initIegLib = 0;
static int iegDefaultDprec = 0; static int iegDefaultDprec = 0;
......
...@@ -13,12 +13,10 @@ ...@@ -13,12 +13,10 @@
#include "error.h" #include "error.h"
#include "file.h" #include "file.h"
#include "binary.h" #include "binary.h"
#include "stream_fcommon.h"
#include "swap.h" #include "swap.h"
#define SINGLE_PRECISION 4
#define DOUBLE_PRECISION 8
#define SRV_HEADER_LEN 8 #define SRV_HEADER_LEN 8
......
...@@ -3,6 +3,11 @@ ...@@ -3,6 +3,11 @@
#include "cdi_int.h" #include "cdi_int.h"
enum {
SINGLE_PRECISION = 4,
DOUBLE_PRECISION = 8,
};
void streamFCopyRecord(stream_t *streamptr2, stream_t *streamptr1, void streamFCopyRecord(stream_t *streamptr2, stream_t *streamptr1,
const char *container_name); const char *container_name);
......
Supports Markdown
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