[PATCH 6/8] wmdots: Rename local sincos() to avoid conflicting types warning.

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
---
 wmdots/wmdots.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wmdots/wmdots.c b/wmdots/wmdots.c
index 670d538..28654fd 100644
--- a/wmdots/wmdots.c
+++ b/wmdots/wmdots.c
@@ -410,7 +410,7 @@ void do_trails(void)
 // -----------------------------------------------------------------------
 // pre calculate sin and cosine values for x y and z angles of rotation
 
-void sincos(void)
+void wmdots_sincos(void)
 {
   sin_x = sin_tab[x_angle];
   sin_y = sin_tab[y_angle];
@@ -502,7 +502,7 @@ void do_frame(void)
   }
 
   do_trails();                  // clear pels that are 3 frames old
-  sincos();                     // calculate all sin/cos values
+  wmdots_sincos();                     // calculate all sin/cos values
 
   while(i--)
   {
-- 
2.7.4


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.