mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Remove "extern C" declaration when importing libgit2
libgit2 takes care of thiss now, so we don't have to.
This commit is contained in:
+1
-4
@@ -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;
|
||||
|
||||
|
||||
@@ -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
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user