summaryrefslogtreecommitdiffstats
path: root/client/mem.cpp
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-19 22:37:53 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2011-05-02 11:24:44 +0200
commit04780d699685c227be9edd4a06f0c738f8d8022b (patch)
tree31aae025dc1a532ebdb6a9f8cf02a0657969f881 /client/mem.cpp
parent9605351863d395e9aa1aa7d3080124dcfdd9d3e2 (diff)
downloadspice-04780d699685c227be9edd4a06f0c738f8d8022b.tar.gz
spice-04780d699685c227be9edd4a06f0c738f8d8022b.tar.xz
spice-04780d699685c227be9edd4a06f0c738f8d8022b.zip
client: remove c++ wrappers
client/ contains several .cpp file which only #include a .c file of the same name. This is unusual and seems to only be done to get C++ name mangling on the symbols defined in the C file. Now that all headers files in common/ use extern "C", these wrappers are no longer useful.
Diffstat (limited to 'client/mem.cpp')
-rw-r--r--client/mem.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/client/mem.cpp b/client/mem.cpp
deleted file mode 100644
index 9e8b7d97..00000000
--- a/client/mem.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- Copyright (C) 2009 Red Hat, Inc.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, see <http://www.gnu.org/licenses/>.
-*/
-
-#include "common.h"
-#include "utils.h"
-
-#define MALLOC_ERROR(format, ...) THROW(format, ## __VA_ARGS__)
-
-#include "../common/mem.c"
-