Update globals to use "fast" int type
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 7s

This commit is contained in:
Stephen Seo 2024-09-21 12:02:18 +09:00
parent 2ec617e170
commit 1deec0c564
2 changed files with 7 additions and 4 deletions

View file

@ -16,7 +16,7 @@
#include "globals.h"
int C_SIMPLE_HTTP_KEEP_RUNNING = 1;
int C_SIMPLE_HTTP_SIGUSR1_SET = 0;
int_fast8_t C_SIMPLE_HTTP_KEEP_RUNNING = 1;
int_fast8_t C_SIMPLE_HTTP_SIGUSR1_SET = 0;
// vim: et ts=2 sts=2 sw=2

View file

@ -17,8 +17,11 @@
#ifndef SEODISPARATE_COM_C_SIMPLE_HTTP_GLOBALS_H_
#define SEODISPARATE_COM_C_SIMPLE_HTTP_GLOBALS_H_
extern int C_SIMPLE_HTTP_KEEP_RUNNING;
extern int C_SIMPLE_HTTP_SIGUSR1_SET;
// Standard library includes.
#include <stdint.h>
extern int_fast8_t C_SIMPLE_HTTP_KEEP_RUNNING;
extern int_fast8_t C_SIMPLE_HTTP_SIGUSR1_SET;
#endif