diff options
| author | Michael Hirsch, Ph.D <10931741+scivision@users.noreply.github.com> | 2019-11-18 15:21:37 -0500 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-11-18 22:21:36 +0200 |
| commit | 83b4e981c4dd8b8ea521a6150a34636d10a67211 (patch) | |
| tree | 3ac84e307e6a2589073a7542a0d7127738f09576 /test cases/linuxlike/4 extdep static lib | |
| parent | 0435691e83fb7172e2a9635d2eb32d5521089916 (diff) | |
| download | meson-83b4e981c4dd8b8ea521a6150a34636d10a67211.tar.gz | |
Use strict function prototypes
Diffstat (limited to 'test cases/linuxlike/4 extdep static lib')
| -rw-r--r-- | test cases/linuxlike/4 extdep static lib/lib.c | 2 | ||||
| -rw-r--r-- | test cases/linuxlike/4 extdep static lib/prog.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test cases/linuxlike/4 extdep static lib/lib.c b/test cases/linuxlike/4 extdep static lib/lib.c index 2f3b3c9a5..bbda9aae7 100644 --- a/test cases/linuxlike/4 extdep static lib/lib.c +++ b/test cases/linuxlike/4 extdep static lib/lib.c @@ -1,6 +1,6 @@ #include<zlib.h> -int statlibfunc() { +int statlibfunc(void) { void * something = deflate; if(something != 0) return 0; diff --git a/test cases/linuxlike/4 extdep static lib/prog.c b/test cases/linuxlike/4 extdep static lib/prog.c index c0268aae9..0aeb8271b 100644 --- a/test cases/linuxlike/4 extdep static lib/prog.c +++ b/test cases/linuxlike/4 extdep static lib/prog.c @@ -1,5 +1,5 @@ -int statlibfunc(); +int statlibfunc(void); -int main() { +int main(void) { return statlibfunc(); } |
