aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Green <mrg@redhat.com>2002-02-03 12:53:04 +0000
committerMatthew Green <mrg@redhat.com>2002-02-03 12:53:04 +0000
commita4139c1259e1c5e307e62bcd347580ee1e029d96 (patch)
tree9379a0fd55a6590baf45a329560a7c8785d43cd3
parent8195aff714f2ea5d680a5129a1d54af388e90355 (diff)
downloadnewlib-a4139c1259e1c5e307e62bcd347580ee1e029d96.zip
newlib-a4139c1259e1c5e307e62bcd347580ee1e029d96.tar.gz
newlib-a4139c1259e1c5e307e62bcd347580ee1e029d96.tar.bz2
* libc/reent/signgam.c (__signgam): Fix error in previous.
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/reent/signgam.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 3d33a4c..231f1cc 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-03 matthew green <mrg@redhat.com>
+
+ * libc/reent/signgam.c (__signgam): Fix error in previous.
+
2002-02-02 matthew green <mrg@redhat.com>
* libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
diff --git a/newlib/libc/reent/signgam.c b/newlib/libc/reent/signgam.c
index d3c17c9..41d955d 100644
--- a/newlib/libc/reent/signgam.c
+++ b/newlib/libc/reent/signgam.c
@@ -10,7 +10,7 @@
int *
__signgam ()
{
- return _REENT_SIGNGAM(_REENT);
+ return &_REENT_SIGNGAM(_REENT);
}
#endif