const char* argv[] -> char* argv[]

This commit is contained in:
zabbius 2024-08-09 15:40:04 +03:00
parent 46e4231f7e
commit 4963258c0b

View File

@ -115,7 +115,7 @@ static struct option long_opt[] = {
{0,0,0,0} {0,0,0,0}
}; };
static int parse_args(int argc, const char *argv[]) { static int parse_args(int argc, char *argv[]) {
int opt; int opt;
int optIdx; int optIdx;
long num; long num;
@ -760,7 +760,7 @@ void *init_queue_wrapper(void *qdconf) {
return thres; return thres;
} }
int main(int argc, const char *argv[]) { int main(int argc, char *argv[]) {
if (parse_args(argc, argv)) { if (parse_args(argc, argv)) {
if (errno) { if (errno) {
perror("Unable to parse args"); perror("Unable to parse args");