mirror of
https://github.com/curl/curl.git
synced 2026-08-25 17:13:31 +03:00
tidy-up: C and CI
- drop redundant casts for `CURL_UNCONST()` pointers (Windows). - GHA/linux: delete redundant/dupe `-g` C flag in memory sanitizer job. Spotted-by: Daniel Stenberg - examples/http2-upload: drop local macro. - examples/http2-upload: drop leading underscore from union name. - examples/http2-upload: drop interim macro. - tests/server/util: reapply patch lost in a rebase. - sync `main()` declarations across the codebase. Closes #22559
This commit is contained in:
parent
35843dd635
commit
8a8ff47b63
37 changed files with 59 additions and 68 deletions
|
|
@ -42,13 +42,13 @@ extern int QadrtFreeEnviron(void);
|
|||
extern char * setlocale_a(int, const char *);
|
||||
|
||||
/* The ASCII main program. */
|
||||
extern int main_a(int argc, char **argv);
|
||||
extern int main_a(int argc, char *argv[]);
|
||||
|
||||
/* Global values of original EBCDIC arguments. */
|
||||
int ebcdic_argc;
|
||||
char ** ebcdic_argv;
|
||||
|
||||
int main(int argc, char **argv)
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int i;
|
||||
int j;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue