diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-19 22:37:53 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-05-02 11:24:44 +0200 |
commit | 04780d699685c227be9edd4a06f0c738f8d8022b (patch) | |
tree | 31aae025dc1a532ebdb6a9f8cf02a0657969f881 /client/pixman_utils.cpp | |
parent | 9605351863d395e9aa1aa7d3080124dcfdd9d3e2 (diff) | |
download | spice-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/pixman_utils.cpp')
-rw-r--r-- | client/pixman_utils.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/client/pixman_utils.cpp b/client/pixman_utils.cpp deleted file mode 100644 index 83acf87f..00000000 --- a/client/pixman_utils.cpp +++ /dev/null @@ -1,25 +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 CANVAS_ERROR(format, ...) THROW(format, ## __VA_ARGS__) - -#include "../common/pixman_utils.c" - |