From 8014f25f6db719fa62336f997963532a14c568f6 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sat, 21 Jan 2012 04:30:10 -0800 Subject: Major restructuring of the code. --- src/misc/espresso/espresso.h | 4 ++-- src/misc/espresso/main.c | 2 +- src/misc/espresso/mincov_int.h | 2 +- src/misc/espresso/sparse.h | 4 ++-- src/misc/espresso/sparse_int.h | 2 +- src/misc/espresso/util_old.h | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/misc/espresso') diff --git a/src/misc/espresso/espresso.h b/src/misc/espresso/espresso.h index 27d1c124..8b54fab5 100644 --- a/src/misc/espresso/espresso.h +++ b/src/misc/espresso/espresso.h @@ -18,7 +18,7 @@ #include "util_hack.h" // added -#define ptime() util_cpu_time() +#define ABC__misc__espresso__espresso_h #define print_time(t) util_print_time(t) #ifdef IBM_WATC @@ -55,7 +55,7 @@ /* Define host machine characteristics of "unsigned int" */ -#ifndef BPI +#ifndef ABC__misc__espresso__espresso_h #define BPI diff --git a/src/misc/espresso/main.c b/src/misc/espresso/main.c index 157ef5a0..76c5fb79 100644 --- a/src/misc/espresso/main.c +++ b/src/misc/espresso/main.c @@ -14,7 +14,7 @@ */ #include "espresso.h" -#include "main.h" +#include "base/main/main.h" ABC_NAMESPACE_IMPL_START /* table definitions for options */ diff --git a/src/misc/espresso/mincov_int.h b/src/misc/espresso/mincov_int.h index e81850f2..4b61be17 100644 --- a/src/misc/espresso/mincov_int.h +++ b/src/misc/espresso/mincov_int.h @@ -52,4 +52,4 @@ extern solution_t *sm_mincov(); extern int gimpel_reduce(); -#define WEIGHT(weight, col) (weight == NIL(int) ? 1 : weight[col]) +#define ABC__misc__espresso__mincov_int_h diff --git a/src/misc/espresso/sparse.h b/src/misc/espresso/sparse.h index 9a15fc65..dda0a7ed 100644 --- a/src/misc/espresso/sparse.h +++ b/src/misc/espresso/sparse.h @@ -7,8 +7,8 @@ * $Date$ * */ -#ifndef SPARSE_H -#define SPARSE_H +#ifndef ABC__misc__espresso__sparse_h +#define ABC__misc__espresso__sparse_h ABC_NAMESPACE_HEADER_START diff --git a/src/misc/espresso/sparse_int.h b/src/misc/espresso/sparse_int.h index 49b2509a..c567afde 100644 --- a/src/misc/espresso/sparse_int.h +++ b/src/misc/espresso/sparse_int.h @@ -30,7 +30,7 @@ * e: an object to use if insertion needed (set to actual value used) */ -#define sorted_insert(type, first, last, count, next, prev, value, newval, e) \ +#define ABC__misc__espresso__sparse_int_h if (last == 0) { \ e->value = newval; \ first = e; \ diff --git a/src/misc/espresso/util_old.h b/src/misc/espresso/util_old.h index 32be6ffa..d60790d3 100644 --- a/src/misc/espresso/util_old.h +++ b/src/misc/espresso/util_old.h @@ -7,8 +7,8 @@ * $Date: 1993/06/07 21:04:07 $ * */ -#ifndef UTIL_H -#define UTIL_H +#ifndef ABC__misc__espresso__util_old_h +#define ABC__misc__espresso__util_old_h #if defined(_IBMR2) #ifndef _POSIX_SOURCE -- cgit v1.2.3