diff options
author | David Phillips <david@sighup.nz> | 2018-06-18 20:56:21 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2018-06-18 20:56:21 +1200 |
commit | cd9ad9b08d150535a511cdb91ba6e8139d5b6e81 (patch) | |
tree | 7a4b5ed26f739c8de0191192f3da3dfa93372de6 /unit_label.c | |
parent | f2e3e195c28c4ab5a4605981f8779fa9a1ef6a06 (diff) | |
download | sand-leek-cd9ad9b08d150535a511cdb91ba6e8139d5b6e81.tar.xz |
Move unit_label struct into header file
Diffstat (limited to 'unit_label.c')
-rw-r--r-- | unit_label.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/unit_label.c b/unit_label.c index 22043ee..d163404 100644 --- a/unit_label.c +++ b/unit_label.c @@ -1,13 +1,5 @@ #include <unistd.h> -struct unit_label { - /* number of times this unit fits into the immediate larger one */ - double count; - - /* label for the unit*/ - char *label; -}; - double make_unit_whatsit(const struct unit_label l[], char **unit, double value) { size_t i = 0; |