lint(tidy): some clang-tidy work

This commit is contained in:
2025-06-10 21:43:01 +02:00
parent 6975c265f0
commit a846c1b4c9
16 changed files with 265 additions and 205 deletions

View File

@@ -1,5 +1,5 @@
#ifndef _EFIELDH_
#define _EFIELDH_
#ifndef EFIELDH_
#define EFIELDH_
#include <stdbool.h>
#include <sys/types.h>
@@ -10,9 +10,9 @@ struct editable_field {
char content[255];
};
struct editable_field field_new(char*);
void field_trim(struct editable_field*, u_char);
void field_update(struct editable_field*, char*);
bool field_seek(struct editable_field*, char);
struct editable_field field_new(char* content);
void field_trim(struct editable_field* self, u_char pos);
void field_update(struct editable_field* self, char* update);
bool field_seek(struct editable_field* self, char seek);
#endif