From 09dbfcb0ad7b6c8bac94502f2801e82f2a2ef435 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Tue, 11 Oct 2011 17:37:44 -0700 Subject: os: Remove Error() Signed-off-by: Jeremy Huddleston Reviewed-by: Peter Hutterer --- doc/Xserver-spec.xml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'doc') diff --git a/doc/Xserver-spec.xml b/doc/Xserver-spec.xml index 37fd2b29a..2bf4fb3b7 100644 --- a/doc/Xserver-spec.xml +++ b/doc/Xserver-spec.xml @@ -1324,10 +1324,6 @@ This re-enables X request processing for the specified client. void FatalError(char *f, ...) - - void - Error(str) - char *str; You should write these three routines to provide for diagnostic output from the dix and ddx layers, although implementing them to produce no @@ -1335,11 +1331,7 @@ output will not affect the correctness of your server. ErrorF() and FatalError() take a printf() type of format specification in the first argument and an implementation-dependent number of arguments following that. Normally, the formats passed to ErrorF() and FatalError() -should be terminated with a newline. Error() provides an os interface -for printing out the string passed as an argument followed by a -meaningful explanation of the last system error. Normally the string -does not contain a newline, and it is only called by the ddx layer. -In the sample implementation, Error() uses the perror() function. +should be terminated with a newline. After printing the message arguments, FatalError() must be implemented -- cgit v1.2.3