summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Berowski <alex@berowski.com>2023-12-24 15:35:49 -0600
committerAlex Berowski <alex@berowski.com>2023-12-24 15:35:49 -0600
commit652c3a0185f074d79b2fee9ad4e1e11fa34907ce (patch)
tree2c32eae38189e6e6cebd867e194cd0ae5f45d6b5
parent1cca6ab2e136e706e84e853968a0dc1fe74bb5e6 (diff)
Fixed new-entry decs.HEADmaster
-rw-r--r--new-entry.c5
-rw-r--r--new-entry.h3
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 */