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

Update dnserver.c: Match dnserv_free signature with fwd-decl #2615

Merged
merged 1 commit into from
Apr 30, 2024
Merged

Update dnserver.c: Match dnserv_free signature with fwd-decl #2615

merged 1 commit into from
Apr 30, 2024

Conversation

maflcko
Copy link
Contributor

@maflcko maflcko commented Apr 30, 2024

Otherwise, this leads to a compile error (at least on a recent clang version):

/src/tinyusb/lib/networking/dnserver.c:195:17: fatal error: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
  195 | void dnserv_free()
      |                 ^
      |                  void
1 error generated.

@HiFiPhile
Copy link
Collaborator

Thanks for your fix.

@HiFiPhile HiFiPhile merged commit 40319cc into hathach:master Apr 30, 2024
70 checks passed
@maflcko maflcko deleted the patch-1 branch April 30, 2024 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants