wmgeneral: Remove inline keywords.
commit7d77c17cc1ef6c78b4e92119d665f7aebbe193eb
authorDoug Torrance <dtorrance@monmouthcollege.edu>
Wed, 20 May 2015 03:30:46 +0000 (19 22:30 -0500)
committerCarlos R. Mafra <crmafra@gmail.com>
Wed, 20 May 2015 09:44:40 +0000 (20 10:44 +0100)
tree7a3f8fc37bcec0c8f099235d49257aeeaec04e57
parentdae24a2f5d3d47b277ed43d20db37dd86fc8c04d
wmgeneral: Remove inline keywords.

Previously, if we attempted to build using C99 or later, we got "inline
function declared but never defined" warnings and eventual "undefined
reference" errors.  As a result, it fails to build from source using gcc5.

However, if we move the definitions to list.h and add "extern inline"
declarations to list.c, which does compile using C99 and later, then it no
longer compiles using gnu90, the default for gcc4.

To avoid this mess, we remove the inline keywords altogether.

Note that this fixes Debian bugs for wmifs [1], wmppp.app [2], and
wmtime [3].

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778170
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778172
[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778174
20 files changed:
wmckgmail/wmgeneral/list.c
wmckgmail/wmgeneral/list.h
wmcpufreq/wmgeneral/list.c [changed mode: 0755->0644]
wmcpufreq/wmgeneral/list.h [changed mode: 0755->0644]
wmifs/wmgeneral/list.c
wmifs/wmgeneral/list.h
wmitime/wmgeneral/list.c
wmitime/wmgeneral/list.h
wmkeys/wmgeneral/list.c
wmkeys/wmgeneral/list.h
wmmon/wmgeneral/list.c
wmmon/wmgeneral/list.h
wmppp.app/wmgeneral/list.c
wmppp.app/wmgeneral/list.h
wmsm.app/wmgeneral/list.c
wmsm.app/wmgeneral/list.h
wmtime/wmgeneral/list.c
wmtime/wmgeneral/list.h [copied from wmmon/wmgeneral/list.h with 71% similarity]
wmtz/wmgeneral/list.c
wmtz/wmgeneral/list.h