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

Fix foo definition in tests/function_pointer.c #48

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Conversation

hernanponcedeleon
Copy link
Contributor

In C, there is a difference between f(void) and f(). The first one declares a function which takes no parameters, the second one defines a function for which we do not know how many parameters can be passed. A more detailed discussion is given here.

…o take an unknown number of parameters

Signed-off-by: Hernan Ponce de Leon <[email protected]>
@db7 db7 assigned db7 and hernanponcedeleon and unassigned db7 Apr 26, 2024
@db7 db7 self-requested a review April 26, 2024 17:55
@db7 db7 merged commit 83fb6cd into main Apr 26, 2024
5 checks passed
@db7 db7 deleted the function_pointer branch April 26, 2024 17:56
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