/in/database.c: In function 'strtoint':
/in/database.c:8:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < strlen(str); i++){
^
/in/database.c: In function 'backslashrn':
/in/database.c:23:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < strlen(str); i++){
^
/in/database.c: In function 'main':
/in/database.c:159:67: warning: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types]
qsort(values, db.tableNum, sizeof(db.tables[0].name), strcmp);
^~~~~~
In file included from /in/database.c:4:0:
/usr/include/stdlib.h:827:13: note: expected '__compar_fn_t {aka int (*)(const void *, const void *)}' but argument is of type 'int (*)(const char *, const char *)'
extern void qsort (void *__base, size_t __nmemb, size_t __size,
^~~~~
/in/database.c:178:19: warning: unused variable 'pright' [-Wunused-variable]
char *pright = strtok(NULL, space); // pright = ")"
^~~~~~
/in/database.c:172:19: warning: unused variable 'pleft' [-Wunused-variable]
char *pleft = strtok(NULL, space); // pleft = "("
^~~~~
/in/database.c:205:19: warning: unused variable 'pright2' [-Wunused-variable]
char *pright2 = strtok(NULL, space);
^~~~~~~
/in/database.c:202:19: warning: unused variable 'pleft2' [-Wunused-variable]
char *pleft2 = strtok(NULL, space);
^~~~~~
/in/database.c:199:19: warning: unused variable 'pright1' [-Wunused-variable]
char *pright1 = strtok(NULL, space);
^~~~~~~
/in/database.c:196:19: warning: unused variable 'pleft1' [-Wunused-variable]
char *pleft1 = strtok(NULL, space);
^~~~~~
/in/database.c:254:19: warning: unused variable 'pright' [-Wunused-variable]
char *pright = strtok(NULL, space);
^~~~~~
/in/database.c:251:19: warning: unused variable 'pleft' [-Wunused-variable]
char *pleft = strtok(NULL, space);
^~~~~
/in/database.c:312:19: warning: unused variable 'lmt' [-Wunused-variable]
char *lmt = strtok(NULL, space);
^~~
/in/database.c:310:19: warning: unused variable 'srt' [-Wunused-variable]
char *srt = strtok(NULL, space);
^~~
/in/database.c:309:19: warning: unused variable 'pright' [-Wunused-variable]
char *pright = strtok(NULL, space);
^~~~~~
/in/database.c:306:19: warning: unused variable 'pleft' [-Wunused-variable]
char *pleft = strtok(NULL, space);
^~~~~