Skip to content

core.c: Include constants.h and make b2LogHandler static#1024

Open
Hymenium wants to merge 1 commit intoerincatto:mainfrom
Hymenium:global-variable-fixes
Open

core.c: Include constants.h and make b2LogHandler static#1024
Hymenium wants to merge 1 commit intoerincatto:mainfrom
Hymenium:global-variable-fixes

Conversation

@Hymenium
Copy link

  1. b2LogHandler is used as a private global but is missing static.
  2. b2_lengthUnitsPerMeter has its extern declaration in constants.h, but this header has been removed.

1. `b2LogHandler` seems to be a private global but is missing `static`.
2. `b2_lengthUnitsPerMeter` has its extern declaration in `constants.h`, but this header is not included (reversion from previous fix).
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