diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2008-09-18 08:01:00 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2008-09-18 08:01:00 -0700 |
commit | 655a50101e18176f1163ccfc67cf69d86623d1f2 (patch) | |
tree | dd31c20fe95145cdc23d30eb0b65ff727881b57b /src/aig/bar/bar.c | |
parent | ce690b29075a23a07673d0a4727f0bf9557ec882 (diff) | |
download | abc-655a50101e18176f1163ccfc67cf69d86623d1f2.tar.gz abc-655a50101e18176f1163ccfc67cf69d86623d1f2.tar.bz2 abc-655a50101e18176f1163ccfc67cf69d86623d1f2.zip |
Version abc80918
Diffstat (limited to 'src/aig/bar/bar.c')
-rw-r--r-- | src/aig/bar/bar.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/aig/bar/bar.c b/src/aig/bar/bar.c index 13bd9fe7..f802d60c 100644 --- a/src/aig/bar/bar.c +++ b/src/aig/bar/bar.c @@ -60,9 +60,13 @@ static void Bar_ProgressClean( Bar_Progress_t * p ); Bar_Progress_t * Bar_ProgressStart( FILE * pFile, int nItemsTotal ) { Bar_Progress_t * p; + void * pFrame; extern int Abc_FrameShowProgress( void * p ); - extern void * Abc_FrameGetGlobalFrame(); - if ( !Abc_FrameShowProgress(Abc_FrameGetGlobalFrame()) ) return NULL; + extern void * Abc_FrameReadGlobalFrame(); + pFrame = Abc_FrameReadGlobalFrame(); + if ( pFrame == NULL ) + return NULL; + if ( !Abc_FrameShowProgress(pFrame) ) return NULL; p = (Bar_Progress_t *) malloc(sizeof(Bar_Progress_t)); memset( p, 0, sizeof(Bar_Progress_t) ); p->pFile = pFile; |