修改编译告警

This commit is contained in:
root 2023-12-31 10:47:49 +08:00
parent e2ecbe2fb7
commit eee4b0ba11
8 changed files with 9 additions and 1 deletions

View File

@ -9,6 +9,8 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>
#include <unistd.h> #include <unistd.h>
#include <ctype.h>
#define MAX_TIME 85 #define MAX_TIME 85
#define MAX_TRIES 100 #define MAX_TRIES 100

View File

@ -8,6 +8,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>
#include <ctype.h>
#define MAX_TIMINGS 85 #define MAX_TIMINGS 85

View File

@ -8,6 +8,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdbool.h> #include <stdbool.h>
#include <string.h> #include <string.h>
#include <ctype.h>
static int is_num(char *str) static int is_num(char *str)
{ {

View File

@ -8,6 +8,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdbool.h> #include <stdbool.h>
#include <string.h> #include <string.h>
#include <ctype.h>
static int is_num(char *str) static int is_num(char *str)
{ {

View File

@ -7,7 +7,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <type.h> //#include <linux/type.h>
#include <ctype.h> #include <ctype.h>

View File

@ -7,6 +7,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <ctype.h>
static int is_num(char *str) static int is_num(char *str)
{ {

View File

@ -8,6 +8,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdbool.h> #include <stdbool.h>
#include <string.h> #include <string.h>
#include <ctype.h>
static int is_num(char *str) static int is_num(char *str)
{ {

View File

@ -8,6 +8,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <ctype.h>
static int is_num(char *str) static int is_num(char *str)
{ {