From b274d18aec525621bcb0a2234fc65e09398616c2 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Tue, 28 Jul 2020 16:32:30 +0200 Subject: Cleanup: correct usage of extern-C blocks in various places This removes extern-C blocks around other includes and adds such blocks for some headers that need them. --- source/blender/freestyle/intern/application/AppConfig.cpp | 2 -- source/blender/freestyle/intern/application/AppView.cpp | 2 -- 2 files changed, 4 deletions(-) (limited to 'source/blender/freestyle/intern/application') diff --git a/source/blender/freestyle/intern/application/AppConfig.cpp b/source/blender/freestyle/intern/application/AppConfig.cpp index b26c9a58f70..3aae4254b4b 100644 --- a/source/blender/freestyle/intern/application/AppConfig.cpp +++ b/source/blender/freestyle/intern/application/AppConfig.cpp @@ -26,9 +26,7 @@ using namespace std; -extern "C" { #include "BKE_appdir.h" -} namespace Freestyle { diff --git a/source/blender/freestyle/intern/application/AppView.cpp b/source/blender/freestyle/intern/application/AppView.cpp index 0956d33a20e..5cd30a61712 100644 --- a/source/blender/freestyle/intern/application/AppView.cpp +++ b/source/blender/freestyle/intern/application/AppView.cpp @@ -33,7 +33,6 @@ #include "../view_map/Silhouette.h" #include "../view_map/ViewMap.h" -extern "C" { #include "BLI_blenlib.h" #include "IMB_imbuf.h" @@ -45,7 +44,6 @@ extern "C" { #endif #include "FRS_freestyle.h" -} namespace Freestyle { -- cgit v1.2.3