c23ify
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#ifndef LINUXSMARTIE_GPU_H
|
||||
#define LINUXSMARTIE_GPU_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
struct gpu_sensors_t {
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#define LCD_LINES 4
|
||||
#define LCD_COLS 40
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
struct lcd_t {
|
||||
|
||||
@@ -12,8 +12,6 @@
|
||||
|
||||
#ifdef APPLOG_ENABLED
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
typedef enum {
|
||||
LOG_INF,
|
||||
LOG_WRN,
|
||||
@@ -38,4 +36,4 @@ void log_write(log_level_t level, const char *func, const char *fmt, ...)
|
||||
#define applog(...) ((void)0)
|
||||
|
||||
#endif /* APPLOG_ENABLED */
|
||||
#endif /* LOG_H */
|
||||
#endif /* LINUXSMARTIE_LOG_H */
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#ifndef LINUXSMARTIE_UTILS_H
|
||||
#define LINUXSMARTIE_UTILS_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <time.h>
|
||||
|
||||
#if __STDC_VERSION__ >= 202311L
|
||||
#if __STDC_VERSION__ >= 202000L
|
||||
#define C_STD "C23"
|
||||
#elif __STDC_VERSION__ >= 201710L
|
||||
#define C_STD "C17"
|
||||
|
||||
Reference in New Issue
Block a user