Skip to content

Commit 1bd7550

Browse files
committed
Compiler warnings.
1 parent 6325e41 commit 1bd7550

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

src/aig/gia/gia.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,6 +1548,9 @@ extern Gia_Man_t * Gia_ManReadMiniAig( char * pFileName, int fGiaSimple
15481548
extern void Gia_ManWriteMiniAig( Gia_Man_t * pGia, char * pFileName );
15491549
extern Gia_Man_t * Gia_ManReadMiniLut( char * pFileName );
15501550
extern void Gia_ManWriteMiniLut( Gia_Man_t * pGia, char * pFileName );
1551+
/*=== giaMinLut.c ===========================================================*/
1552+
extern word * Gia_ManCountFraction( Gia_Man_t * p, Vec_Wrd_t * vSimI, Vec_Int_t * vSupp, int Thresh, int fVerbose, int * pCare );
1553+
extern Vec_Int_t * Gia_ManCollectSuppNew( Gia_Man_t * p, int iOut, int nOuts );
15511554
/*=== giaMuxes.c ===========================================================*/
15521555
extern void Gia_ManCountMuxXor( Gia_Man_t * p, int * pnMuxes, int * pnXors );
15531556
extern void Gia_ManPrintMuxStats( Gia_Man_t * p );

src/aig/gia/giaTtopt.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,10 +1106,6 @@ class TruthTableLevelTSM : public TruthTableCare {
11061106

11071107
}
11081108

1109-
extern "C"
1110-
Vec_Int_t * Gia_ManCollectSuppNew( Gia_Man_t * p, int iOut, int nOuts );
1111-
1112-
//extern "C"
11131109
Gia_Man_t * Gia_ManTtopt( Gia_Man_t * p, int nIns, int nOuts, int nRounds )
11141110
{
11151111
Gia_Man_t * pNew;
@@ -1158,10 +1154,6 @@ Gia_Man_t * Gia_ManTtopt( Gia_Man_t * p, int nIns, int nOuts, int nRounds )
11581154
return pNew;
11591155
}
11601156

1161-
extern "C"
1162-
word * Gia_ManCountFraction( Gia_Man_t * p, Vec_Wrd_t * vSimI, Vec_Int_t * vSupp, int Thresh, int fVerbose, int * pCare );
1163-
1164-
//extern "C"
11651157
Gia_Man_t * Gia_ManTtoptCare( Gia_Man_t * p, int nIns, int nOuts, int nRounds, char * pFileName, int nRarity )
11661158
{
11671159
int fVerbose = 0;

src/base/abci/abc.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42208,7 +42208,6 @@ int Abc_CommandAbc9LNetOpt( Abc_Frame_t * pAbc, int argc, char ** argv )
4220842208
SeeAlso []
4220942209

4221042210
***********************************************************************/
42211-
//#ifndef _WIN32
4221242211
int Abc_CommandAbc9Ttopt( Abc_Frame_t * pAbc, int argc, char ** argv )
4221342212
{
4221442213
Gia_Man_t * pTemp;
@@ -42300,9 +42299,13 @@ int Abc_CommandAbc9Ttopt( Abc_Frame_t * pAbc, int argc, char ** argv )
4230042299
Abc_Print( -2, "\t-v : toggles verbose output [default = %s]\n", fVerbose? "yes": "no" );
4230142300
Abc_Print( -2, "\t-h : prints the command usage\n");
4230242301
Abc_Print( -2, "\t<file> : file name with simulation information\n");
42302+
Abc_Print( -2, "\t\n" );
42303+
Abc_Print( -2, "\t This command was contributed by Yukio Miyasaka.\n" );
42304+
Abc_Print( -2, "\t The paper describing the method: Y. Miyasaka et al. \"Synthesizing\n" );
42305+
Abc_Print( -2, "\t a class of practical Boolean functions using truth tables\". Proc. IWLS 2022.\n" );
42306+
Abc_Print( -2, "\t https://people.eecs.berkeley.edu/~alanmi/publications/2022/iwls22_reo.pdf\n" );
4230342307
return 1;
4230442308
}
42305-
//#endif
4230642309

4230742310
/**Function*************************************************************
4230842311

0 commit comments

Comments
 (0)