summaryrefslogtreecommitdiff
path: root/xfce4-session
diff options
context:
space:
mode:
authorRomain Bouvier <skunnyk@alteroot.org>2019-04-28 23:20:59 +0200
committerRomain Bouvier <skunnyk@alteroot.org>2019-04-28 23:30:04 +0200
commitb2249c7b5563204d4bb05c460ee4f0e633112121 (patch)
tree91c4edff4a93e7acac971ecb37e35e445d5318b2 /xfce4-session
parent6503852633080caf20905d3a343e099b3457129f (diff)
downloadxfce4-session-b2249c7b5563204d4bb05c460ee4f0e633112121.tar.gz
Remove unused checks on configure step
- We check for unused headers at configure step - Fix old C function declaration warnings
Diffstat (limited to 'xfce4-session')
-rw-r--r--xfce4-session/Makefile.am2
-rw-r--r--xfce4-session/xfsm-compat-gnome.c2
-rw-r--r--xfce4-session/xfsm-compat-kde.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/xfce4-session/Makefile.am b/xfce4-session/Makefile.am
index b4a0ddf6..3e9b3f68 100644
--- a/xfce4-session/Makefile.am
+++ b/xfce4-session/Makefile.am
@@ -98,7 +98,7 @@ xfce4_session_LDADD = \
$(LIBWNCK_LIBS) \
$(POLKIT_LIBS) \
$(XFCONF_LIBS) \
- -lm
+ $(LIBM)
xfce4_session_DEPENDENCIES = \
$(top_builddir)/libxfsm/libxfsm-4.6.la
diff --git a/xfce4-session/xfsm-compat-gnome.c b/xfce4-session/xfsm-compat-gnome.c
index 9b0c4137..c949d660 100644
--- a/xfce4-session/xfsm-compat-gnome.c
+++ b/xfce4-session/xfsm-compat-gnome.c
@@ -243,7 +243,7 @@ xfsm_compat_gnome_smproxy_shutdown (void)
void
-xfsm_compat_gnome_startup ()
+xfsm_compat_gnome_startup (void)
{
if (G_UNLIKELY (gnome_compat_started))
return;
diff --git a/xfce4-session/xfsm-compat-kde.c b/xfce4-session/xfsm-compat-kde.c
index 877dc7df..1c68343d 100644
--- a/xfce4-session/xfsm-compat-kde.c
+++ b/xfce4-session/xfsm-compat-kde.c
@@ -116,7 +116,7 @@ run (const gchar *command)
void
-xfsm_compat_kde_startup ()
+xfsm_compat_kde_startup (void)
{
gchar command[256];