Skip to content

Make it c89 compliant#3

Open
TedLyngmo wants to merge 1 commit intolibigl:masterfrom
TedLyngmo:modernize
Open

Make it c89 compliant#3
TedLyngmo wants to merge 1 commit intolibigl:masterfrom
TedLyngmo:modernize

Conversation

@TedLyngmo
Copy link

  • Functions taking no arguments are now taking (void) instead of ().
  • Modernized argument declarations to make it compileable with a C++ compiler.
  • predicates.c now includes predicates.h to ensure C linkage of exposed functions.
  • Initialized variables in incircleadapt before use to avoid undefined behaviod, should the function ever be used.

- Functions taking no arguments are now taking (void) instead of ().
- Modernized argument declarations to make it compileable with a C++
  compiler.
- predicates.c now includes predicates.h to ensure C linkage of exposed
  functions.
- Initialized variables in `incircleadapt` before use to avoid undefined
  behaviod, should the function ever be used.

Signed-off-by: Ted Lyngmo <ted@lyncon.se>
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.

1 participant