diff mbox series

[11/24] signal: remove TRAD_SYNOPSIS

Message ID 20171130102858.16160-12-yselkowi@redhat.com
State New
Headers show
Series Remove TRAD_SYNOPSIS | expand

Commit Message

Yaakov Selkowitz Nov. 30, 2017, 10:28 a.m. UTC
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(-)

-- 
2.15.0
diff mbox series

Patch

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.