block ai; clean up non-ansi nitpicks

This commit is contained in:
Gregory Gauthier 2026-01-30 11:42:56 +00:00
parent b3c792363c
commit 34ef701f69
2 changed files with 6 additions and 6 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
.claude/
.grok/
.idea/
cmake-build-debug/

View File

@ -1,6 +1,6 @@
//
// Created by gmgauthier on 05/10/2025.
//
/*
* Created by gmgauthier on 05/10/2025.
*/
#include <stdio.h>
#include <stdlib.h>
@ -11,7 +11,7 @@
#define TIME_LENGTH 5 /* HH:MM */
#define CATEGORY_LENGTH 10 /* CATEGORY__ */
#define TXTMSG_LENGTH 125 /* Max length of a text message */
#define MAX_ENTRIES 5000 /* Maximum number of entries to load */
#define MAX_ENTRIES 1500 /* Maximum number of entries to load */
#define CNOTES_FILE "cnotes.csv"
#define CNOTES_DIR ".local/share/cnotes"
@ -50,9 +50,7 @@ static int compare_by_category(const void *a, const void *b) {
return strcmp(entry_b->category, entry_a->category) * g_sort_order;
}
/* ReSharper disable CppParameterMayBeConst */
void print_horizontal_line(char left, char middle, char right, char fill) {
/* ReSharper restore CppParameterMayBeConst */
int i;
printf("%c", left);