aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/remembering.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/remembering.c b/src/remembering.c
index 17993ee..2dda122 100644
--- a/src/remembering.c
+++ b/src/remembering.c
@@ -2,6 +2,7 @@
#define _POSIX_C_SOURCE 200809L
#endif
+/*
#include <errno.h>
#include <libgen.h>
#include <stdio.h>
@@ -313,7 +314,6 @@ static int fallible_mkdir_p(char *path, mode_t mode, const char *const filename,
#ifdef TEST
static void mkdir_p_test() {
- /*
{
testing("mkdir_p a single directory");
@@ -331,8 +331,6 @@ exit(EXIT_FAILURE);
free(dir);
test_ok();
}
- */
- /*
{
testing("mkdir_p nested directories");
@@ -362,7 +360,6 @@ exit(EXIT_FAILURE);
free(dir_prefix);
test_ok();
}
- */
}
#endif
@@ -586,7 +583,7 @@ int parse_ranked_line(FILE *stream, const char *entry, char **value,
if (!*value) {
return -1;
}
- strcpy(*value, entry + (rank_strlen + 1 /* RANKING_DELIMITER */));
+ strcpy(*value, entry + (rank_strlen + 1 / * RANKING_DELIMITER * /));
return 0;
}
@@ -858,7 +855,6 @@ int get_profile(struct GetlineParams *s_params, struct GetlineParams *p_params,
return 0;
}
-/*
int merge_stdin_with_profile(char *profile_name, struct Rankings *s_rankings,
struct Rankings *p_rankings) {
FILE *profile = fopen(profile_name, "r");
@@ -912,7 +908,6 @@ int merge_stdin_with_profile(char *profile_name, struct Rankings *s_rankings,
}
return 0;
}
-*/
#ifdef TEST
static void unit_tests() {
@@ -941,3 +936,8 @@ int main(int argc, char *argv[]) {
return EXIT_SUCCESS;
}
}
+*/
+
+int main() {
+ return 0;
+}