Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-04 06:43:30 +0300
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 20:47:26 +0300
commit9087163804df8af6dc2ec1f675a2341c25f7795f (patch)
tree86fcb38236347d0e97a16c957e41dca597b8e8a8 /newlib/libc/misc
parent44276afe2a0365d655425702205604640829668d (diff)
ansification: remove _DEFUN
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/misc')
-rw-r--r--newlib/libc/misc/__dprintf.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/newlib/libc/misc/__dprintf.c b/newlib/libc/misc/__dprintf.c
index 5fa30e0ab..592d714c2 100644
--- a/newlib/libc/misc/__dprintf.c
+++ b/newlib/libc/misc/__dprintf.c
@@ -177,8 +177,7 @@ parse_number (s, p)
/* Fetch the number at S of SIZE bytes. */
static long
-_DEFUN(get_number, (s, size, unsigned_p),
- char *s,
+get_number (char *s,
long size,
int unsigned_p)
{
@@ -220,8 +219,7 @@ _DEFUN(get_number, (s, size, unsigned_p),
/* Print X in base BASE. */
static void
-_DEFUN(print_number, (base, unsigned_p, n),
- int base,
+print_number (int base,
int unsigned_p,
long n)
{
@@ -254,8 +252,7 @@ _DEFUN(print_number, (base, unsigned_p, n),
stdio is working. */
static void
-_DEFUN(write_char, (c),
- char c)
+write_char (char c)
{
_write_r (_REENT, CONSOLE_FD, &c, 1);
}
@@ -265,8 +262,7 @@ _DEFUN(write_char, (c),
stdio is working. */
static void
-_DEFUN(write_string, (s),
- const char *s)
+write_string (const char *s)
{
_write_r (_REENT, CONSOLE_FD, s, strlen (s));
}