]> gitweb.hhaalo.de Git - feierabend.git/commitdiff
rename init time acount
authorBastian Dehn <hhaalo@arcor.de>
Sat, 14 Feb 2026 08:38:13 +0000 (09:38 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 14 Feb 2026 08:38:13 +0000 (09:38 +0100)
src/feierabendxml.c
src/xml.c
src/xml.h

index c59a08c9599950fabbc0149434d0a2505c43a694..e293c7a0ef5bbad1fcdd68878fc480d68a4e142b 100644 (file)
@@ -13,7 +13,7 @@ int main(int argc, char* argv[])
        }
 
        if (strcmp(argv[1], "init") == 0) {
-               initTimeAcount();
+               init_time_acount();
                return 0;
        }
 
index e318994d33ecfa5ba9148778ba6b37cbfbc7a1d7..4c943b99543446ce2e02e1d155f83ff8c68f26df 100644 (file)
--- a/src/xml.c
+++ b/src/xml.c
@@ -82,7 +82,7 @@ void readStdInIntoMemory(memFile* mem)
        buf = NULL;
 }
 
-void initTimeAcount()
+void init_time_acount()
 {
        xmlChar* xmlElemName = NULL;
        xmlChar* xmlElemContent = NULL;
index c34b7fd4cac57d2f1510703b62f23292e625fc9b..b83328d57b56b23ce26c51ac4ce24ad0fa905e2f 100644 (file)
--- a/src/xml.h
+++ b/src/xml.h
@@ -7,7 +7,7 @@ typedef struct {
        size_t size;
 } memFile;
 
-void initTimeAcount();
+void init_time_acount();
 void createEntry(uint8_t begin_hour,
        uint8_t begin_min,
        uint8_t end_hour,