summaryrefslogtreecommitdiffstats
path: root/tools/cpu/hppa1.1/genoffsets.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:22:59 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:22:59 +0000
commitc6e895df6e70944a9632c4fd1422e9386e813051 (patch)
tree8c439e9f13fc27c42544fd799ab65e02fa77772c /tools/cpu/hppa1.1/genoffsets.c
parent12d6f1418a214d5ecc017a594d58df7cb198c6f0 (diff)
downloadrtems-c6e895df6e70944a9632c4fd1422e9386e813051.tar.bz2
added ifdef around variables to eliminate warnings when cross
Diffstat (limited to 'tools/cpu/hppa1.1/genoffsets.c')
-rw-r--r--tools/cpu/hppa1.1/genoffsets.c2
1 files changed, 2 insertions, 0 deletions
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