Skip to content

Conversation

@fingolfin
Copy link
Member

This is an alternative to PR #3183: instead of adding extern to function prototypes without it, this instead removes extern from all (?) function prototypes (and also in a few places in C files were it made no sense).

The second commit was created by git clang-format HEAD^ to reformat all the modified function prototypes. The idea being that if we touch all those lines anyway, we might as well fix up their formatting at the same time. But of course if people dislike this, we can easily drop that second commit.

Closes #3183

@coveralls
Copy link

coveralls commented Jan 20, 2019

Coverage Status

Coverage increased (+0.0002%) to 84.642% when pulling e1cc1a2 on fingolfin:mh/no-extern into 4402d59 on gap-system:master.

@codecov
Copy link

codecov bot commented Jan 20, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@4402d59). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master    #3202   +/-   ##
=========================================
  Coverage          ?   84.77%           
=========================================
  Files             ?      687           
  Lines             ?   335864           
  Branches          ?        0           
=========================================
  Hits              ?   284723           
  Misses            ?    51141           
  Partials          ?        0
Impacted Files Coverage Δ
src/exprs.h 100% <ø> (ø)
src/code.h 100% <ø> (ø)
src/vars.h 98.41% <ø> (ø)
src/pperm.h 79.31% <ø> (ø)
src/lists.h 95.6% <ø> (ø)
src/integer.h 100% <ø> (ø)
src/permutat.h 83.87% <ø> (ø)
src/range.h 100% <ø> (ø)
src/precord.h 100% <ø> (ø)
src/compiler.c 88.52% <ø> (ø)
... and 25 more

Copy link
Contributor

@ChrisJefferson ChrisJefferson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer this, but I don't know if anyone else has any opinions!

@fingolfin fingolfin force-pushed the mh/no-extern branch 3 times, most recently from 28037a7 to 40a5067 Compare January 23, 2019 15:28
@fingolfin fingolfin merged commit 6c49cd8 into gap-system:master Jan 23, 2019
@fingolfin fingolfin deleted the mh/no-extern branch January 23, 2019 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: kernel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants