summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/tools/hppa1.1
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 /c/src/exec/score/tools/hppa1.1
parentadded "ifndef" to avoid redefinition warning. (diff)
downloadrtems-c6e895df6e70944a9632c4fd1422e9386e813051.tar.bz2
added ifdef around variables to eliminate warnings when cross
Diffstat (limited to 'c/src/exec/score/tools/hppa1.1')
-rw-r--r--c/src/exec/score/tools/hppa1.1/genoffsets.c2
1 files changed, 2 insertions, 0 deletions
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