From d96bffce2dcf209e76be9b36ca1ede7e0c976d77 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 25 Nov 2008 13:59:00 -0500 Subject: [PATCH] Warning fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Init.c:139: warning: no previous prototype for ‘ddxBeforeReset’ Just declare the prototype always, seriously. --- include/dix.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/dix.h b/include/dix.h index 76ddbb52b..66af953b2 100644 --- a/include/dix.h +++ b/include/dix.h @@ -169,9 +169,7 @@ extern void SendErrorToClient( extern void MarkClientException( ClientPtr /*client*/); -#if defined(DDXBEFORERESET) extern void ddxBeforeReset (void); -#endif /* dixutils.c */