summaryrefslogtreecommitdiff
path: root/src/shared.h
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-04-28 12:31:49 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-04-28 12:31:49 -0400
commit3b53b4c96d05cfadcf275d24f021159471343048 (patch)
tree275af254cd3402fccfa214d8f0f7c08353e7869f /src/shared.h
parentremove __ on uid and gid for alpine (diff)
downloadlazysphere-3b53b4c96d05cfadcf275d24f021159471343048.tar.gz
lazysphere-3b53b4c96d05cfadcf275d24f021159471343048.tar.bz2
lazysphere-3b53b4c96d05cfadcf275d24f021159471343048.zip
improve ls command
Diffstat (limited to 'src/shared.h')
-rw-r--r--src/shared.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared.h b/src/shared.h
index 56f0a70..4556d5d 100644
--- a/src/shared.h
+++ b/src/shared.h
@@ -13,5 +13,5 @@ long int get_number(const char* text);
bool streql(const char* a, const char* b);
bool prefix(const char* pre, const char* str);
-void print_file_size(size_t bytes);
-void print_date_time(time_t mills);
+void print_file_size(size_t bytes, char buf[5]);
+void print_date_time(time_t mills, char buf[13]);