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

jpegmarker.h: Move extern to the front for jpeg_special_marker_type. #30

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

schwehr
Copy link
Contributor

@schwehr schwehr commented Oct 14, 2023

Found with -Wextra using gcc 13.2.0:

jpegmarker.h:18:1: warning: ‘extern’ is not at beginning of declaration [-Wold-style-declaration]
   18 | const extern struct jpeg_special_marker_type jpeg_special_marker_types[];
      | ^~~~~

Found with `-Wextra` using gcc 13.2.0:

```
jpegmarker.h:18:1: warning: ‘extern’ is not at beginning of declaration [-Wold-style-declaration]
   18 | const extern struct jpeg_special_marker_type jpeg_special_marker_types[];
      | ^~~~~
```
@tjko tjko merged commit 84247df into tjko:master Oct 17, 2023
2 checks passed
@schwehr schwehr deleted the jpegmarker-old-style-declaration branch October 17, 2023 05:08
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