From c6e895df6e70944a9632c4fd1422e9386e813051 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 7 Apr 1997 21:22:59 +0000 Subject: added ifdef around variables to eliminate warnings when cross --- c/src/exec/score/tools/hppa1.1/genoffsets.c | 2 ++ tools/cpu/hppa1.1/genoffsets.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/c/src/exec/score/tools/hppa1.1/genoffsets.c b/c/src/exec/score/tools/hppa1.1/genoffsets.c index 39f900b48a..7f38148359 100644 --- a/c/src/exec/score/tools/hppa1.1/genoffsets.c +++ b/c/src/exec/score/tools/hppa1.1/genoffsets.c @@ -29,7 +29,9 @@ int main( char **argv ) { +#if defined(__hpux__) && defined(__hppa__) unsigned int size = 0; +#endif /* * Print the file header diff --git a/tools/cpu/hppa1.1/genoffsets.c b/tools/cpu/hppa1.1/genoffsets.c index 39f900b48a..7f38148359 100644 --- a/tools/cpu/hppa1.1/genoffsets.c +++ b/tools/cpu/hppa1.1/genoffsets.c @@ -29,7 +29,9 @@ int main( char **argv ) { +#if defined(__hpux__) && defined(__hppa__) unsigned int size = 0; +#endif /* * Print the file header -- cgit v1.2.3