diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2017-12-03 08:08:36 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2017-12-03 08:08:36 -0800 |
commit | a49dfbcf91d2271fc18b9581309f7362b6272ede (patch) | |
tree | ca54c88bded7ce99bd0435c8736e4213ab4a9ff9 | |
parent | 46175d04291ba81a5c9f56c5658554c981fa1e84 (diff) | |
download | abc-a49dfbcf91d2271fc18b9581309f7362b6272ede.tar.gz abc-a49dfbcf91d2271fc18b9581309f7362b6272ede.tar.bz2 abc-a49dfbcf91d2271fc18b9581309f7362b6272ede.zip |
Portability changes for gcc-6 suggested by Clifford.
-rw-r--r-- | src/base/main/mainInit.c | 5 | ||||
-rw-r--r-- | src/sat/glucose/AbcGlucoseCmd.cpp | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/base/main/mainInit.c b/src/base/main/mainInit.c index 1d90b623..7f5f13a8 100644 --- a/src/base/main/mainInit.c +++ b/src/base/main/mainInit.c @@ -61,13 +61,8 @@ extern void Abc2_Init( Abc_Frame_t * pAbc ); extern void Abc2_End ( Abc_Frame_t * pAbc ); extern void Abc85_Init( Abc_Frame_t * pAbc ); extern void Abc85_End( Abc_Frame_t * pAbc ); -#ifdef _WIN32 extern void Glucose_Init( Abc_Frame_t *pAbc ); extern void Glucose_End( Abc_Frame_t * pAbc ); -#else -extern "C" void Glucose_Init( Abc_Frame_t *pAbc ); -extern "C" void Glucose_End( Abc_Frame_t * pAbc ); -#endif static Abc_FrameInitializer_t* s_InitializerStart = NULL; static Abc_FrameInitializer_t* s_InitializerEnd = NULL; diff --git a/src/sat/glucose/AbcGlucoseCmd.cpp b/src/sat/glucose/AbcGlucoseCmd.cpp index 8b25f451..2e819e49 100644 --- a/src/sat/glucose/AbcGlucoseCmd.cpp +++ b/src/sat/glucose/AbcGlucoseCmd.cpp @@ -26,13 +26,8 @@ ABC_NAMESPACE_HEADER_START -#ifdef _WIN32 extern void Glucose_Init( Abc_Frame_t *pAbc ); extern void Glucose_End( Abc_Frame_t * pAbc ); -#else -extern "C" void Glucose_Init( Abc_Frame_t *pAbc ); -extern "C" void Glucose_End( Abc_Frame_t * pAbc ); -#endif ABC_NAMESPACE_HEADER_END |