refactor: Add clang-tidy checks and simplify codebase

This commit is contained in:
Utkarsh Verma 2023-11-16 09:08:29 +05:30
commit c166ffe0b4
No known key found for this signature in database
GPG key ID: 7A4885A7162BDF20
17 changed files with 130 additions and 78 deletions

View file

@ -1,4 +1,5 @@
#pragma once
#ifndef SIGNAL_HANDLER_H
#define SIGNAL_HANDLER_H
#include <bits/types/sigset_t.h>
@ -28,3 +29,5 @@ signal_handler signal_handler_new(
int signal_handler_init(signal_handler* const handler);
int signal_handler_deinit(signal_handler* const handler);
int signal_handler_process(signal_handler* const handler, timer* const timer);
#endif // SIGNAL_HANDLER_H