aboutsummaryrefslogtreecommitdiffstats
path: root/src/Idle.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-09 08:36:52 +0100
committerMax Kellermann <max@duempel.org>2013-01-09 13:01:38 +0100
commite86e77ad67f883111d50f0886204ad96c8d0f90b (patch)
treed3a6dfa79c2b3326020a4fcd9f3f335ba06ec280 /src/Idle.cxx
parent3c4bb9ff4ed60297af0e63befabf37b50b9fe745 (diff)
downloadmpd-e86e77ad67f883111d50f0886204ad96c8d0f90b.tar.gz
mpd-e86e77ad67f883111d50f0886204ad96c8d0f90b.tar.xz
mpd-e86e77ad67f883111d50f0886204ad96c8d0f90b.zip
idle: convert to C++
Diffstat (limited to '')
-rw-r--r--src/Idle.cxx (renamed from src/idle.c)7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/idle.c b/src/Idle.cxx
index 2d174d78a..4027461c2 100644
--- a/src/idle.c
+++ b/src/Idle.cxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
+ * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -23,8 +23,11 @@
*/
#include "config.h"
-#include "idle.h"
+#include "Idle.hxx"
+
+extern "C" {
#include "event_pipe.h"
+}
#include <assert.h>
#include <glib.h>