aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2024-09-21 14:46:03 -0500
committerjvech <jmvalenciae@unal.edu.co>2024-09-21 14:46:03 -0500
commite3040135a5e51baab04070e04f86c22df2867c5c (patch)
tree0e53f2a649d3096a14a4e1772472463f5e968d7a /src
parent3fc51ee0c8135d95ec422dadd6562bf97261a757 (diff)
doc: Man page for configuration file addedHEADmain
The only concern I have with this file is having the program version matching with the actual program, but it is not critical
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
-rw-r--r--src/util.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 7918706..6d1d433 100644
--- a/src/main.c
+++ b/src/main.c
@@ -31,9 +31,6 @@
#define MAX_FILE_SIZE 536870912 //1<<29; 0.5 GiB
-#define ARRAY_SIZE(x, type) sizeof(x) / sizeof(type)
-
-
void load_config(struct Configs *cfg, int n_args, ...)
{
char *filepath;
diff --git a/src/util.c b/src/util.c
index ad14632..13d963a 100644
--- a/src/util.c
+++ b/src/util.c
@@ -80,7 +80,7 @@ char *e_strdup(const char *s)
void version()
{
- printf("ml 0.2.0\n");
+ printf("ml 0.5.0\n");
printf( "Copyright (C) 2023 jvech\n\n"
"This program is free software: you can redistribute it and/or modify\n"
"it under the terms of the GNU General Public License as published by\n"
Feel free to download, copy and edit any repo