diff options
-rw-r--r-- | new-entry.c | 5 | ||||
-rw-r--r-- | new-entry.h | 3 |
2 files changed, 4 insertions, 4 deletions
diff --git a/new-entry.c b/new-entry.c index 8ace7ab..ae78e55 100644 --- a/new-entry.c +++ b/new-entry.c @@ -1,21 +1,18 @@ /* new-entry.c - SiFT, a simple finance tool */ #include <stdio.h> +#include "new-entry.h" int trMonth; int trDay; int trYear; -void readDate(); - int new_entry() { readDate(); printf("The transaction occured on: %d/%d/%d\n", trMonth,trDay,trYear); } - - void readDate() { for (;;){ diff --git a/new-entry.h b/new-entry.h index 009f9ab..bf888d7 100644 --- a/new-entry.h +++ b/new-entry.h @@ -6,5 +6,8 @@ #include <stdio.h> int new_entry(); +// Add function to collect current time. +// Add function to generate SHA256 hash from current time. +void readDate(); #endif /* _NEWENTRY_H */ |