diff options
author | Max Kellermann <max@duempel.org> | 2013-01-03 03:06:45 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-03 03:09:50 +0100 |
commit | ddf112378b7e9abef79fde13828ba904723c1ffd (patch) | |
tree | f6d345be609c9da06a8751ef68a9a41cabe40e0b /src/permission.c | |
parent | b25cce464a83c69fbf41143b52928f5c19756bce (diff) | |
download | mpd-ddf112378b7e9abef79fde13828ba904723c1ffd.tar.gz mpd-ddf112378b7e9abef79fde13828ba904723c1ffd.tar.xz mpd-ddf112378b7e9abef79fde13828ba904723c1ffd.zip |
permission: convert to C++
Diffstat (limited to '')
-rw-r--r-- | src/Permission.cxx (renamed from src/permission.c) | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/permission.c b/src/Permission.cxx index cd52b9c86..e455f7ee7 100644 --- a/src/permission.c +++ b/src/Permission.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 @@ -18,10 +18,13 @@ */ #include "config.h" -#include "permission.h" -#include "conf.h" +#include "Permission.hxx" #include "mpd_error.h" +extern "C" { +#include "conf.h" +} + #include <glib.h> #include <stdbool.h> |