summaryrefslogtreecommitdiffstats
path: root/libopkg/release.h
diff options
context:
space:
mode:
authorPaul Barker <paul@paulbarker.me.uk>2013-11-20 10:29:36 (EST)
committer Paul Barker <paul@paulbarker.me.uk>2013-12-17 16:00:35 (EST)
commit670879cbe91702c77da6494c2bc7102f5d014a0d (patch)
tree56cc8207684a96d0e74db6f0cc0eaaa6942504bb /libopkg/release.h
parent93b7bcd9335071c85d0353d541d4ff72743333ea (diff)
libopkg: Drop config checks from structures in headers
Ensure that all structures are always the same size, regardless of configuration options so that applications which use libopkg don't need to be rebuilt if configuration options are changed. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Cc: Carsten Schoenert <c.schoenert@gmail.com>
Diffstat (limited to 'libopkg/release.h')
-rw-r--r--libopkg/release.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libopkg/release.h b/libopkg/release.h
index 239dcca..1c89c8e 100644
--- a/libopkg/release.h
+++ b/libopkg/release.h
@@ -29,9 +29,7 @@ struct release
char **components;
unsigned int components_count;
cksum_list_t *md5sums;
-#ifdef HAVE_SHA256
cksum_list_t *sha256sums;
-#endif
char **complist;
unsigned int complist_count;
};