Author: Alexander <sanek23994@gmail.com>
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758560
Description: Fixes needed to compile with clang.
Forwarded: no
Last-Updated: 2014-09-13

Index: libsx-2.08/src/popups.c
===================================================================
--- libsx-2.08.orig/src/popups.c
+++ libsx-2.08/src/popups.c
@@ -2,7 +2,7 @@
  * They use the routines in Dialog.c to do most of the work.
  *
  *                     This code is under the GNU Copyleft.
- * 
+ *
  *  Dominic Giampaolo
  *  dbg@sgi.com
  */
@@ -62,7 +62,7 @@ char *GetString(char *blurb, char *defau
   return string;
 }
 
-void GetTextCancel(Widget ww, void* data)
+static void GetTextCancel(Widget ww, void* data)
 {
   char **string = (char **) data;
   *string = NULL;
@@ -71,7 +71,7 @@ void GetTextCancel(Widget ww, void* data
   w1 = None;
 }
 
-void GetTextOkay(Widget ww, void* data)
+static void GetTextOkay(Widget ww, void* data)
 {
   char *ptr = NULL;
   char **string = (char **) data;
@@ -86,10 +86,9 @@ void GetTextOkay(Widget ww, void* data)
   CloseWindow();
 }
 
+
 char *GetText(char *blurb, char *default_string, int width, int height)
 {
-Widget wid_gettext[6];
-char *string;
 int i;
 
    MakeWindow("GetText",SAME_DISPLAY, EXCLUSIVE_WINDOW);
