]> gitweb.hhaalo.de Git - feierabend.git/commitdiff
rename read stdin method
authorBastian Dehn <hhaalo@arcor.de>
Sat, 14 Feb 2026 08:44:47 +0000 (09:44 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 14 Feb 2026 08:44:47 +0000 (09:44 +0100)
src/xml.c

index 1dbea952920b6c6c213154a302f4d9d90d5fb939..b41cbc6fe2f1bba9b0a9a912a5d18df83cc3facf 100644 (file)
--- a/src/xml.c
+++ b/src/xml.c
@@ -57,7 +57,7 @@ void shrink_mem(size_t readed, memFile* mem)
        mem->data = tmpmem;
 }
 
-void readStdInIntoMemory(memFile* mem)
+void read_stdin_into_memory(memFile* mem)
 {
        char* buf = malloc(sizeof(char));
 
@@ -352,7 +352,7 @@ void add_entry(const char* date,
        uint8_t end_min)
 {
        memFile* fileContent = init_memFile();
-       readStdInIntoMemory(fileContent);
+       read_stdin_into_memory(fileContent);
 
        char* saldostr = malloc(sizeof(char) * MAX_STRING_LENGTH);