Message ID | 20220405133548.51598-6-cgzones@googlemail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2,1/6] libsepol/cil: declare file local functions static | expand |
On Wed, Apr 6, 2022 at 9:34 AM Christian Göttsche <cgzones@googlemail.com> wrote: > > Check for missing prototypes like file local functions not declared > static or external functions not being declared to avoid declaration/ > definition desynchronizations. > > Signed-off-by: Christian Göttsche <cgzones@googlemail.com> There are still some problems when making some of the tests, like libsepol/tests. Jim > --- > Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Makefile b/Makefile > index 215e313e..2ffba8e9 100644 > --- a/Makefile > +++ b/Makefile > @@ -14,6 +14,7 @@ else > -Winit-self \ > -Wmissing-format-attribute \ > -Wmissing-noreturn \ > + -Wmissing-prototypes \ > -Wnull-dereference \ > -Wpointer-arith \ > -Wshadow \ > -- > 2.35.1 >
diff --git a/Makefile b/Makefile index 215e313e..2ffba8e9 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,7 @@ else -Winit-self \ -Wmissing-format-attribute \ -Wmissing-noreturn \ + -Wmissing-prototypes \ -Wnull-dereference \ -Wpointer-arith \ -Wshadow \
Check for missing prototypes like file local functions not declared static or external functions not being declared to avoid declaration/ definition desynchronizations. Signed-off-by: Christian Göttsche <cgzones@googlemail.com> --- Makefile | 1 + 1 file changed, 1 insertion(+)