From c45ea22806419b39bba18110478bc39eaa8c62cb Mon Sep 17 00:00:00 2001 From: Cyril Hrubis Date: Tue, 27 May 2014 14:07:40 +0200 Subject: usctest.h: Remove unused TEST_PAUSEF macro Looking at the code, it would fail to link anyway (because there doesn't seem to be declared _TMP_FUNC anywhere in the libltp). Signed-off-by: Cyril Hrubis --- doc/man3/usctest.3 | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'doc') diff --git a/doc/man3/usctest.3 b/doc/man3/usctest.3 index c3a838817..df3c5ad12 100644 --- a/doc/man3/usctest.3 +++ b/doc/man3/usctest.3 @@ -45,8 +45,6 @@ char *\fBparse_opts(\fI...\fB)\fR .br \fBTEST_PAUSE\fR .br -\fBTEST_PAUSEF(\fIhand\fB)\fR -.br \fBTEST(\fIsyscall\fB)\fR .br .\"\fBTEST_CALLER(\fIsyscall\fB, \fIpid\fB)\fR @@ -77,11 +75,6 @@ The \fBTEST_PAUSE\fR macro checks if the global variable STD_PAUSE is set. If s pauses for a SIGUSR1 before continuing execution. The signal handler used does nothing. After the signal is processed, the previous action is replaced for SIGUSR1. .sp -The \fBTEST_PAUSEF(\fIhand\fB)\fR macro checks if the global variable STD_PAUSE is set. If so, it -pauses for a SIGUSR1 before continuing execution. The \fIhand\fR argument is a function to be used -to handle the SIGUSR1 signal when it is received. -After the signal is processed, the previous action is replaced for SIGUSR1. -.sp The \fBTEST(\fIsyscall\fB)\fR macro executes (\fIsyscall\fR) and times its execution. It saves the max time, min time, accumulated time, and execution count, if STD_TIMING_ON is set. @@ -163,7 +156,9 @@ int main(int argc, char *argv[]) parse_opts(3). .SH "RETURN VALUES" -The TEST_LOOPING macro evaluates to TRUE (1) or FALSE (0), and is intended for use in while or -for loops. The TEST macro places the return value from \fIsyscall\fR in the global variable TEST_RETURN -and the errno in the global variable TEST_ERRNO. The \fBTEST_PAUSE\fR, \fBTEST_PAUSEF\fR, -\fBTEST_CLEANUP\fR, \fBTEST_ERROR_LOG\fR, and \fBTEST_EXP_ENOS\fR macros do not have any return values. +The TEST_LOOPING macro evaluates to TRUE (1) or FALSE (0), and is intended for +use in while or for loops. The TEST macro places the return value from +\fIsyscall\fR in the global variable TEST_RETURN and the errno in the global +variable TEST_ERRNO. The \fBTEST_PAUSE\fR, \fBTEST_CLEANUP\fR, +\fBTEST_ERROR_LOG\fR, and \fBTEST_EXP_ENOS\fR macros do not have any return +values. -- cgit v1.2.3