@@ -46,24 +46,29 @@ def lib(*names, **kw):
4646_journal = Extension ('systemd/_journal' ,
4747 sources = ['systemd/_journal.c' ,
4848 'systemd/pyutil.c' ],
49+ extra_compile_args = ['-Werror=implicit-function-declaration' ],
4950 ** lib ('libsystemd' , 'libsystemd-journal' , ** defines ))
5051_reader = Extension ('systemd/_reader' ,
5152 sources = ['systemd/_reader.c' ,
5253 'systemd/pyutil.c' ,
5354 'systemd/strv.c' ],
55+ extra_compile_args = ['-Werror=implicit-function-declaration' ],
5456 ** lib ('libsystemd' , 'libsystemd-journal' , ** defines ))
5557_daemon = Extension ('systemd/_daemon' ,
5658 sources = ['systemd/_daemon.c' ,
5759 'systemd/pyutil.c' ],
60+ extra_compile_args = ['-Werror=implicit-function-declaration' ],
5861 ** lib ('libsystemd' , 'libsystemd-daemon' , ** defines ))
5962id128 = Extension ('systemd/id128' ,
6063 sources = ['systemd/id128.c' ,
6164 'systemd/pyutil.c' ],
65+ extra_compile_args = ['-Werror=implicit-function-declaration' ],
6266 ** lib ('libsystemd' , 'libsystemd-id128' , ** defines ))
6367login = Extension ('systemd/login' ,
6468 sources = ['systemd/login.c' ,
6569 'systemd/pyutil.c' ,
6670 'systemd/strv.c' ],
71+ extra_compile_args = ['-Werror=implicit-function-declaration' ],
6772 ** lib ('libsystemd' , 'libsystemd-login' , ** defines ))
6873setup (name = 'systemd-python' ,
6974 version = version ,
0 commit comments