diff options
-rw-r--r-- | unit_label.c | 8 | ||||
-rw-r--r-- | unit_label.h | 5 |
2 files changed, 4 insertions, 9 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; diff --git a/unit_label.h b/unit_label.h index 7fe1f2b..8f6220c 100644 --- a/unit_label.h +++ b/unit_label.h @@ -1,5 +1,8 @@ struct unit_label { - double lower_bound; + /* number of times this unit fits into the immediate larger one */ + double count; + + /* label for the unit*/ char *label; }; |