Skip to content

Commit 6325e41

Browse files
committed
Compiler warnings.
1 parent 4d183ef commit 6325e41

2 files changed

Lines changed: 27 additions & 9 deletions

File tree

src/aig/gia/giaTtopt.cpp

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
// Author : Yukio Miyasaka
1+
/**CFile****************************************************************
2+
3+
FileName [giaTtopt.c]
4+
5+
SystemName [ABC: Logic synthesis and verification system.]
6+
7+
PackageName [Scalable AIG package.]
8+
9+
Synopsis [Truth-table-based logic synthesis.]
10+
11+
Author [Yukio Miyasaka]
12+
13+
Affiliation [UC Berkeley]
14+
15+
Date [Ver. 1.0. Started - June 20, 2005.]
16+
17+
Revision [$Id: giaTtopt.c,v 1.00 2005/06/20 00:00:00 alanmi Exp $]
18+
19+
***********************************************************************/
220

321
#ifdef _WIN32
422
#ifndef __MINGW32__
@@ -1091,7 +1109,7 @@ class TruthTableLevelTSM : public TruthTableCare {
10911109
extern "C"
10921110
Vec_Int_t * Gia_ManCollectSuppNew( Gia_Man_t * p, int iOut, int nOuts );
10931111

1094-
extern "C"
1112+
//extern "C"
10951113
Gia_Man_t * Gia_ManTtopt( Gia_Man_t * p, int nIns, int nOuts, int nRounds )
10961114
{
10971115
Gia_Man_t * pNew;
@@ -1143,7 +1161,7 @@ Gia_Man_t * Gia_ManTtopt( Gia_Man_t * p, int nIns, int nOuts, int nRounds )
11431161
extern "C"
11441162
word * Gia_ManCountFraction( Gia_Man_t * p, Vec_Wrd_t * vSimI, Vec_Int_t * vSupp, int Thresh, int fVerbose, int * pCare );
11451163

1146-
extern "C"
1164+
//extern "C"
11471165
Gia_Man_t * Gia_ManTtoptCare( Gia_Man_t * p, int nIns, int nOuts, int nRounds, char * pFileName, int nRarity )
11481166
{
11491167
int fVerbose = 0;

src/base/abci/abc.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -499,9 +499,9 @@ static int Abc_CommandAbc9LNetRead ( Abc_Frame_t * pAbc, int argc, cha
499499
static int Abc_CommandAbc9LNetSim ( Abc_Frame_t * pAbc, int argc, char ** argv );
500500
static int Abc_CommandAbc9LNetEval ( Abc_Frame_t * pAbc, int argc, char ** argv );
501501
static int Abc_CommandAbc9LNetOpt ( Abc_Frame_t * pAbc, int argc, char ** argv );
502-
#ifndef _WIN32
502+
//#ifndef _WIN32
503503
static int Abc_CommandAbc9Ttopt ( Abc_Frame_t * pAbc, int argc, char ** argv );
504-
#endif
504+
//#endif
505505
static int Abc_CommandAbc9LNetMap ( Abc_Frame_t * pAbc, int argc, char ** argv );
506506
static int Abc_CommandAbc9Unmap ( Abc_Frame_t * pAbc, int argc, char ** argv );
507507
static int Abc_CommandAbc9Struct ( Abc_Frame_t * pAbc, int argc, char ** argv );
@@ -1252,9 +1252,9 @@ void Abc_Init( Abc_Frame_t * pAbc )
12521252
Cmd_CommandAdd( pAbc, "ABC9", "&lnetsim", Abc_CommandAbc9LNetSim, 0 );
12531253
Cmd_CommandAdd( pAbc, "ABC9", "&lneteval", Abc_CommandAbc9LNetEval, 0 );
12541254
Cmd_CommandAdd( pAbc, "ABC9", "&lnetopt", Abc_CommandAbc9LNetOpt, 0 );
1255-
#ifndef _WIN32
1255+
//#ifndef _WIN32
12561256
Cmd_CommandAdd( pAbc, "ABC9", "&ttopt", Abc_CommandAbc9Ttopt, 0 );
1257-
#endif
1257+
//#endif
12581258
Cmd_CommandAdd( pAbc, "ABC9", "&lnetmap", Abc_CommandAbc9LNetMap, 0 );
12591259
Cmd_CommandAdd( pAbc, "ABC9", "&unmap", Abc_CommandAbc9Unmap, 0 );
12601260
Cmd_CommandAdd( pAbc, "ABC9", "&struct", Abc_CommandAbc9Struct, 0 );
@@ -42208,7 +42208,7 @@ int Abc_CommandAbc9LNetOpt( Abc_Frame_t * pAbc, int argc, char ** argv )
4220842208
SeeAlso []
4220942209

4221042210
***********************************************************************/
42211-
#ifndef _WIN32
42211+
//#ifndef _WIN32
4221242212
int Abc_CommandAbc9Ttopt( Abc_Frame_t * pAbc, int argc, char ** argv )
4221342213
{
4221442214
Gia_Man_t * pTemp;
@@ -42302,7 +42302,7 @@ int Abc_CommandAbc9Ttopt( Abc_Frame_t * pAbc, int argc, char ** argv )
4230242302
Abc_Print( -2, "\t<file> : file name with simulation information\n");
4230342303
return 1;
4230442304
}
42305-
#endif
42305+
//#endif
4230642306

4230742307
/**Function*************************************************************
4230842308

0 commit comments

Comments
 (0)