summaryrefslogtreecommitdiff
path: root/dselect/methparse.cc
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2008-08-24 08:27:35 +0300
committerGuillem Jover <guillem@debian.org>2008-08-26 05:13:42 +0300
commit1065736ab055e36c75d0499f3419e2dbd89b942c (patch)
treec070680886ea40e064affae6e85bfdaa821c4502 /dselect/methparse.cc
parent88e7b54eeb46dcfa78e34aad91710df38d22451d (diff)
downloaddpkg-1065736ab055e36c75d0499f3419e2dbd89b942c.tar.gz
Unify usage of extern "C" declarations
Diffstat (limited to 'dselect/methparse.cc')
-rw-r--r--dselect/methparse.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/dselect/methparse.cc b/dselect/methparse.cc
index d1b66c63f..8be4430bf 100644
--- a/dselect/methparse.cc
+++ b/dselect/methparse.cc
@@ -18,9 +18,8 @@
* License along with dpkg; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-extern "C" {
+
#include <config.h>
-}
#include <stdio.h>
#include <string.h>
@@ -35,11 +34,9 @@ extern "C" {
#include <ctype.h>
#include <assert.h>
-
-extern "C" {
#include <dpkg.h>
#include <dpkg-db.h>
-}
+
#include "dselect.h"
#include "bindings.h"
#include "method.h"