at master 483 B view raw
1--- a/1.0.0.rc16/tools/dmevent_tool.c.old 2024-12-26 18:39:04.294039876 -0700 2+++ a/1.0.0.rc16/tools/dmevent_tool.c 2024-12-26 18:45:59.416784807 -0700 3@@ -123,7 +123,7 @@ 4 } 5 6 /* Increment option counters. */ 7-static _process_opt(int opt, const char *cmd) 8+static int _process_opt(int opt, const char *cmd) 9 { 10 struct opt_def_struct { 11 const char opt; /* Option character. */ 12@@ -148,7 +148,7 @@ 13 14 optc[o->type]++; 15 optc[OPT_SUM]++; 16- return; 17+ return 0; 18 } 19 } 20