aboutsummaryrefslogtreecommitdiffstats
path: root/zahl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--zahl-internals.h10
-rw-r--r--zahl.h11
2 files changed, 11 insertions, 10 deletions
diff --git a/zahl-internals.h b/zahl-internals.h
index 9ac29b2..9d6df24 100644
--- a/zahl-internals.h
+++ b/zahl-internals.h
@@ -62,3 +62,13 @@
typedef uint64_t zahl_char_t;
+
+struct zahl {
+ int sign;
+#if INT_MAX != LONG_MAX
+ int padding__;
+#endif
+ size_t used;
+ size_t alloced;
+ zahl_char_t *chars;
+};
diff --git a/zahl.h b/zahl.h
index 2df05e7..aca34f4 100644
--- a/zahl.h
+++ b/zahl.h
@@ -16,16 +16,7 @@
-/* This structure should be considered opaque. */
-typedef struct {
- int sign;
-#if INT_MAX != LONG_MAX
- int padding__;
-#endif
- size_t used;
- size_t alloced;
- zahl_char_t *chars;
-} z_t[1];
+typedef struct zahl z_t[1];