aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/jrand48.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-03 21:43:30 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 11:47:26 -0600
commit9087163804df8af6dc2ec1f675a2341c25f7795f (patch)
tree86fcb38236347d0e97a16c957e41dca597b8e8a8 /newlib/libc/stdlib/jrand48.c
parent44276afe2a0365d655425702205604640829668d (diff)
downloadnewlib-9087163804df8af6dc2ec1f675a2341c25f7795f.zip
newlib-9087163804df8af6dc2ec1f675a2341c25f7795f.tar.gz
newlib-9087163804df8af6dc2ec1f675a2341c25f7795f.tar.bz2
ansification: remove _DEFUN
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/stdlib/jrand48.c')
-rw-r--r--newlib/libc/stdlib/jrand48.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/newlib/libc/stdlib/jrand48.c b/newlib/libc/stdlib/jrand48.c
index 4f8c12b..185e0da 100644
--- a/newlib/libc/stdlib/jrand48.c
+++ b/newlib/libc/stdlib/jrand48.c
@@ -14,8 +14,7 @@
#include "rand48.h"
long
-_DEFUN (_jrand48_r, (r, xseed),
- struct _reent *r,
+_jrand48_r (struct _reent *r,
unsigned short xseed[3])
{
__dorand48(r, xseed);
@@ -24,8 +23,7 @@ _DEFUN (_jrand48_r, (r, xseed),
#ifndef _REENT_ONLY
long
-_DEFUN (jrand48, (xseed),
- unsigned short xseed[3])
+jrand48 (unsigned short xseed[3])
{
return _jrand48_r (_REENT, xseed);
}