summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2022-09-19 16:13:54 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2022-09-19 16:13:54 -0700
commit6325e41681a259cf63de3aabe10b4b0930e77e56 (patch)
treebbe6ab8160bd76fa951aee6046f033efefd7f533
parent4d183efe48dfef9b992ff46c2636973b36ccb7f4 (diff)
downloadabc-6325e41681a259cf63de3aabe10b4b0930e77e56.tar.gz
abc-6325e41681a259cf63de3aabe10b4b0930e77e56.tar.bz2
abc-6325e41681a259cf63de3aabe10b4b0930e77e56.zip
Compiler warnings.
-rw-r--r--src/aig/gia/giaTtopt.cpp24
-rw-r--r--src/base/abci/abc.c12
2 files changed, 27 insertions, 9 deletions
diff --git a/src/aig/gia/giaTtopt.cpp b/src/aig/gia/giaTtopt.cpp
index 398bc7ff..7d507152 100644
--- a/src/aig/gia/giaTtopt.cpp
+++ b/src/aig/gia/giaTtopt.cpp
@@ -1,4 +1,22 @@
-// Author : Yukio Miyasaka
+/**CFile****************************************************************
+
+ FileName [giaTtopt.c]
+
+ SystemName [ABC: Logic synthesis and verification system.]
+
+ PackageName [Scalable AIG package.]
+
+ Synopsis [Truth-table-based logic synthesis.]
+
+ Author [Yukio Miyasaka]
+
+ Affiliation [UC Berkeley]
+
+ Date [Ver. 1.0. Started - June 20, 2005.]
+
+ Revision [$Id: giaTtopt.c,v 1.00 2005/06/20 00:00:00 alanmi Exp $]
+
+***********************************************************************/
#ifdef _WIN32
#ifndef __MINGW32__
@@ -1091,7 +1109,7 @@ public:
extern "C"
Vec_Int_t * Gia_ManCollectSuppNew( Gia_Man_t * p, int iOut, int nOuts );
-extern "C"
+//extern "C"
Gia_Man_t * Gia_ManTtopt( Gia_Man_t * p, int nIns, int nOuts, int nRounds )
{
Gia_Man_t * pNew;
@@ -1143,7 +1161,7 @@ Gia_Man_t * Gia_ManTtopt( Gia_Man_t * p, int nIns, int nOuts, int nRounds )
extern "C"
word * Gia_ManCountFraction( Gia_Man_t * p, Vec_Wrd_t * vSimI, Vec_Int_t * vSupp, int Thresh, int fVerbose, int * pCare );
-extern "C"
+//extern "C"
Gia_Man_t * Gia_ManTtoptCare( Gia_Man_t * p, int nIns, int nOuts, int nRounds, char * pFileName, int nRarity )
{
int fVerbose = 0;
diff --git a/src/base/abci/abc.c b/src/base/abci/abc.c
index a5f466a4..42761fc7 100644
--- a/src/base/abci/abc.c
+++ b/src/base/abci/abc.c
@@ -499,9 +499,9 @@ static int Abc_CommandAbc9LNetRead ( Abc_Frame_t * pAbc, int argc, cha
static int Abc_CommandAbc9LNetSim ( Abc_Frame_t * pAbc, int argc, char ** argv );
static int Abc_CommandAbc9LNetEval ( Abc_Frame_t * pAbc, int argc, char ** argv );
static int Abc_CommandAbc9LNetOpt ( Abc_Frame_t * pAbc, int argc, char ** argv );
-#ifndef _WIN32
+//#ifndef _WIN32
static int Abc_CommandAbc9Ttopt ( Abc_Frame_t * pAbc, int argc, char ** argv );
-#endif
+//#endif
static int Abc_CommandAbc9LNetMap ( Abc_Frame_t * pAbc, int argc, char ** argv );
static int Abc_CommandAbc9Unmap ( Abc_Frame_t * pAbc, int argc, char ** argv );
static int Abc_CommandAbc9Struct ( Abc_Frame_t * pAbc, int argc, char ** argv );
@@ -1252,9 +1252,9 @@ void Abc_Init( Abc_Frame_t * pAbc )
Cmd_CommandAdd( pAbc, "ABC9", "&lnetsim", Abc_CommandAbc9LNetSim, 0 );
Cmd_CommandAdd( pAbc, "ABC9", "&lneteval", Abc_CommandAbc9LNetEval, 0 );
Cmd_CommandAdd( pAbc, "ABC9", "&lnetopt", Abc_CommandAbc9LNetOpt, 0 );
-#ifndef _WIN32
+//#ifndef _WIN32
Cmd_CommandAdd( pAbc, "ABC9", "&ttopt", Abc_CommandAbc9Ttopt, 0 );
-#endif
+//#endif
Cmd_CommandAdd( pAbc, "ABC9", "&lnetmap", Abc_CommandAbc9LNetMap, 0 );
Cmd_CommandAdd( pAbc, "ABC9", "&unmap", Abc_CommandAbc9Unmap, 0 );
Cmd_CommandAdd( pAbc, "ABC9", "&struct", Abc_CommandAbc9Struct, 0 );
@@ -42208,7 +42208,7 @@ usage:
SeeAlso []
***********************************************************************/
-#ifndef _WIN32
+//#ifndef _WIN32
int Abc_CommandAbc9Ttopt( Abc_Frame_t * pAbc, int argc, char ** argv )
{
Gia_Man_t * pTemp;
@@ -42302,7 +42302,7 @@ usage:
Abc_Print( -2, "\t<file> : file name with simulation information\n");
return 1;
}
-#endif
+//#endif
/**Function*************************************************************