This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH 11/24] signal: remove TRAD_SYNOPSIS
- From: Yaakov Selkowitz <yselkowi at redhat dot com>
- To: newlib at sourceware dot org
- Date: Thu, 30 Nov 2017 04:28:45 -0600
- Subject: [PATCH 11/24] signal: remove TRAD_SYNOPSIS
- Authentication-results: sourceware.org; auth=none
- References: <20171130102858.16160-1-yselkowi@redhat.com>
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
---
newlib/libc/signal/psignal.c | 8 +-------
newlib/libc/signal/raise.c | 11 +----------
newlib/libc/signal/signal.c | 13 +------------
3 files changed, 3 insertions(+), 29 deletions(-)
diff --git a/newlib/libc/signal/psignal.c b/newlib/libc/signal/psignal.c
index 4638518da..f2cfdf3ff 100644
--- a/newlib/libc/signal/psignal.c
+++ b/newlib/libc/signal/psignal.c
@@ -6,16 +6,10 @@ FUNCTION
INDEX
psignal
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
void psignal(int <[signal]>, const char *<[prefix]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- void psignal(<[signal]>, <[prefix]>)
- int <[signal]>;
- const char *<[prefix]>;
-
DESCRIPTION
Use <<psignal>> to print (on standard error) a signal message
corresponding to the value of the signal number <[signal]>.
diff --git a/newlib/libc/signal/raise.c b/newlib/libc/signal/raise.c
index bc47864e8..df3ebb50f 100644
--- a/newlib/libc/signal/raise.c
+++ b/newlib/libc/signal/raise.c
@@ -12,21 +12,12 @@ INDEX
INDEX
_raise_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <signal.h>
int raise(int <[sig]>);
int _raise_r(void *<[reent]>, int <[sig]>);
-TRAD_SYNOPSIS
- #include <signal.h>
- int raise(<[sig]>)
- int <[sig]>;
-
- int _raise_r(<[reent]>, <[sig]>)
- char *<[reent]>;
- int <[sig]>;
-
DESCRIPTION
Send the signal <[sig]> (one of the macros from `<<sys/signal.h>>').
This interrupts your program's normal flow of execution, and allows a signal
diff --git a/newlib/libc/signal/signal.c b/newlib/libc/signal/signal.c
index 183004725..5729f65e3 100644
--- a/newlib/libc/signal/signal.c
+++ b/newlib/libc/signal/signal.c
@@ -7,23 +7,12 @@ INDEX
INDEX
_signal_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <signal.h>
void (*signal(int <[sig]>, void(*<[func]>)(int))) (int);
void (*_signal_r(void *<[reent]>, int <[sig]>, void(*<[func]>)(int))) (int);
-TRAD_SYNOPSIS
- #include <signal.h>
- char ( * signal(<[sig]>, <[func]>) )()
- int <[sig]>;
- char ( * <[func]> )();
-
- char ( * _signal_r(<[reent]>, <[sig]>, <[func]>) )()
- char *<[reent]>;
- int <[sig]>;
- char ( * <[func]> )();
-
DESCRIPTION
<<signal>> provides a simple signal-handling implementation for embedded
targets.
--
2.15.0