Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Fix call to usage which requires an int argument#5451

Closed
Polynomial-C wants to merge 1 commit into
apple:masterfrom
Polynomial-C:usage_fixup
Closed

Fix call to usage which requires an int argument#5451
Polynomial-C wants to merge 1 commit into
apple:masterfrom
Polynomial-C:usage_fixup

Conversation

@Polynomial-C

Copy link
Copy Markdown

Otherwise compilation fails:

main.c: In function ‘main’:
main.c:158:7: error: too few arguments to function ‘usage’
       usage();
       ^~~~~
main.c:73:14: note: declared here
 static void  usage(int status) _CUPS_NORETURN;
              ^~~~~
make[1]: *** [../Makedefs:270: main.o] Error 1

Otherwise compilation fails:

main.c: In function ‘main’:
main.c:158:7: error: too few arguments to function ‘usage’
       usage();
       ^~~~~
main.c:73:14: note: declared here
 static void  usage(int status) _CUPS_NORETURN;
              ^~~~~
make[1]: *** [../Makedefs:270: main.o] Error 1
@michaelrsweet

Copy link
Copy Markdown
Contributor

[master 065632e] Fix compile errors - not sure why these didn't show up before...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants