author | Stiletto <blasux@blasux.ru> |
Sat, 17 Aug 2019 15:27:14 +0400 | |
changeset 19 | bf780d158f3e |
parent 18 | 85165bbd4ebb |
--- a/dpoke.c Sat Aug 17 15:26:16 2019 +0400 +++ b/dpoke.c Sat Aug 17 15:27:14 2019 +0400 @@ -73,7 +73,7 @@ } void display(char *v[], size_t vc); -void setup(void); +void setup(int argc, char **argv); void cleanup(int exitcode); extern char* v[]; @@ -170,7 +170,7 @@ } int main(int argc, char* argv[]) { - setup(); + setup(argc, argv); struct sigaction act; memset (&act, 0, sizeof(act));