summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-05-30 15:33:22 (GMT)
committerGitHub <noreply@github.com>2023-05-30 15:33:22 (GMT)
commit962593fb0aaabe8cc8d05e162e4bd2745e164f0b (patch)
treef367321af3ceb5de04a8d5a00b9b9373a4d9fd39 /src
parent40324e0c31eef2cfcf0289079c58f81717d65184 (diff)
downloadhdf5-962593fb0aaabe8cc8d05e162e4bd2745e164f0b.zip
hdf5-962593fb0aaabe8cc8d05e162e4bd2745e164f0b.tar.gz
hdf5-962593fb0aaabe8cc8d05e162e4bd2745e164f0b.tar.bz2
Remove unused H5F_EN|DECODE_OFFSET macros (#3027)
Diffstat (limited to 'src')
-rw-r--r--src/H5Fprivate.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h
index 40c6cff..1728f8a 100644
--- a/src/H5Fprivate.h
+++ b/src/H5Fprivate.h
@@ -445,32 +445,6 @@ typedef struct H5F_t H5F_t;
#endif /* H5F_MODULE */
/* Macros to encode/decode offset/length's for storing in the file */
-#define H5F_ENCODE_OFFSET(f, p, o) \
- switch (H5F_SIZEOF_ADDR(f)) { \
- case 4: \
- UINT32ENCODE(p, o); \
- break; \
- case 8: \
- UINT64ENCODE(p, o); \
- break; \
- case 2: \
- UINT16ENCODE(p, o); \
- break; \
- }
-
-#define H5F_DECODE_OFFSET(f, p, o) \
- switch (H5F_SIZEOF_ADDR(f)) { \
- case 4: \
- UINT32DECODE(p, o); \
- break; \
- case 8: \
- UINT64DECODE(p, o); \
- break; \
- case 2: \
- UINT16DECODE(p, o); \
- break; \
- }
-
#define H5F_ENCODE_LENGTH_LEN(p, l, s) \
switch (s) { \
case 4: \