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

clang: Missing prototype #52

Closed
polluks opened this issue Aug 24, 2023 · 1 comment
Closed

clang: Missing prototype #52

polluks opened this issue Aug 24, 2023 · 1 comment

Comments

@polluks
Copy link
Contributor

polluks commented Aug 24, 2023

/usr/bin/cc vi.c -o vi -pedantic -Wall -Wextra -Wno-implicit-fallthrough -Wno-missing-field-initializers -Wno-unused-parameter -Wfatal-errors -std=c99 -D_POSIX_C_SOURCE=200809L -O2 -D_DARWIN_C_SOURCE
In file included from vi.c:38:
./led.c:371:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
static int get_time()
                   ^
                    void
1 warning generated.
@kyx0r
Copy link
Owner

kyx0r commented Aug 24, 2023

Hi Stefan,
My compiler's don't catch this, should be fixed here now:
b699fe7

Thanks!

  • Kyryl

@polluks polluks changed the title Missing prototype clang: Missing prototype Aug 24, 2023
@polluks polluks closed this as completed Aug 24, 2023
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

No branches or pull requests

2 participants