Skip to content
Browse files

Remove "extern C" declaration when importing libgit2

libgit2 takes care of thiss now, so we don't have to.
  • Loading branch information...
1 parent bda9060 commit 4e915cc68fe5421093825601a1437348f31e29ec @pieter pieter committed
Showing with 2 additions and 12 deletions.
  1. +1 −4 PBGitGrapher.mm
  2. +0 −3 PBGitLane.h
  3. +1 −5 PBGitRevList.mm
View
5 PBGitGrapher.mm
@@ -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;
View
3 PBGitLane.h
@@ -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;
View
6 PBGitRevList.mm
@@ -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>

0 comments on commit 4e915cc

Please sign in to comment.
Something went wrong with that request. Please try again.