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

ptpd: Fix reserved word 'class' #2222

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

PetteriAimonen
Copy link
Contributor

Summary

When ptpd.h is included in C++ code, the use of identifier class caused a compilation error. Changed to "clockclass".

Impact

Changes variable name in ptpd_status_s structure.

Testing

Compiles.

When ptpd.h is included in C++ code, the use of identifier 'class'
caused a compilation error. Changed to "clockclass".
@xiaoxiang781216 xiaoxiang781216 merged commit fcd0729 into apache:master Dec 8, 2023
25 checks passed
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.

3 participants