Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redeclaration of httpWriteResponse #380

Closed
aixtools opened this issue May 3, 2022 · 1 comment
Closed

Redeclaration of httpWriteResponse #380

aixtools opened this issue May 3, 2022 · 1 comment
Assignees
Labels
bug Something isn't working priority-high
Milestone

Comments

@aixtools
Copy link
Contributor

aixtools commented May 3, 2022

While buildcups - I get the following error (from xlC compiler):

Compiling http.c...
"http.c", line 3347.1: 1506-343 (S) Redeclaration of httpWriteResponse differs from previous declaration on line 577 of "../cups/http.h".
"http.c", line 3347.1: 1506-050 (I) Return type "int" in redeclaration is not compatible with the previous return type "enum http_state_e".
@michaelrsweet
Copy link
Member

OK, httpWriteResponse should be returning int.

[master 852e09c] Fix the prototype for the httpWriteResponse function (Issue #380)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants