Remove "extern C" declaration when importing libgit2

libgit2 takes care of thiss now, so we don't have to.
This commit is contained in:
Pieter de Bie
2008-11-25 17:42:10 +01:00
parent bda90606f2
commit 4e915cc68f
3 changed files with 2 additions and 12 deletions
+1 -4
View File
@@ -6,15 +6,12 @@
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
extern "C" {
#import "git/oid.h"
}
#import "PBGitGrapher.h"
#import "PBGitCommit.h"
#import "PBGitLane.h"
#import "PBGitGraphLine.h"
#import <list>
#import "git/oid.h"
using namespace std;
-3
View File
@@ -6,10 +6,7 @@
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
extern "C"
{
#include "git/oid.h"
}
class PBGitLane {
static int s_colorIndex;
+1 -5
View File
@@ -6,17 +6,13 @@
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
extern "C"
{
#include "git/oid.h"
}
#import "PBGitRevList.h"
#import "PBGitRepository.h"
#import "PBGitCommit.h"
#import "PBGitGrapher.h"
#import "PBGitRevSpecifier.h"
#include "git/oid.h"
#include <ext/stdio_filebuf.h>
#include <iostream>
#include <string>