diff options
author | Alex Berowski <alex@berowski.com> | 2023-12-24 15:35:49 -0600 |
---|---|---|
committer | Alex Berowski <alex@berowski.com> | 2023-12-24 15:35:49 -0600 |
commit | 652c3a0185f074d79b2fee9ad4e1e11fa34907ce (patch) | |
tree | 2c32eae38189e6e6cebd867e194cd0ae5f45d6b5 | |
parent | 1cca6ab2e136e706e84e853968a0dc1fe74bb5e6 (diff) |
-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 */ |