Skip to content

Rename timer_t to not clash with POSIX _t convention#2

Open
tuckerpo wants to merge 1 commit intonybblesio:masterfrom
tuckerpo:fix/posix_typedef_clash_timer_t
Open

Rename timer_t to not clash with POSIX _t convention#2
tuckerpo wants to merge 1 commit intonybblesio:masterfrom
tuckerpo:fix/posix_typedef_clash_timer_t

Conversation

@tuckerpo
Copy link

@tuckerpo tuckerpo commented Oct 10, 2020

The tip of master (e70ca29) failed to build due to a redefinition of timer_t in libc timer.h

gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0

ubuntu x86_64 GNU/Linux

Simply changing ckong's timer_t typedef name fixes this, but causes a stylistic clash in the codebase, now.

It may be worth going through and changing the typedef naming convention here to avoid redefinition issues in the future.

Fix gcc typedef clash
@tuckerpo tuckerpo force-pushed the fix/posix_typedef_clash_timer_t branch from 93b31ed to 5ff94a1 Compare October 10, 2020 18:19
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