Bug#688452: Conflicting declarations of gl_in_hook
Control: tags -1 + patch
I believe the following patch will fix this issue. I am uploading
a new package to Debian with this fix.
--- gpstrans-0.41.orig/src/getline/getline.c
+++ gpstrans-0.41/src/getline/getline.c
@@ -42,9 +42,15 @@ void gl_setwidth (); /* specify width o
void gl_histadd (); /* adds entries to hist */
void gl_strwidth (); /* to bind gl_strlen */
+#if __STDC__ > 0
+int (*gl_in_hook) (char *) = 0;
+int (*gl_out_hook) (char *) = 0;
+int (*gl_tab_hook) (char *, int, int *) = gl_tab;
+#else /* not __STDC__ */
int (*gl_in_hook) () = 0;
int (*gl_out_hook) () = 0;
int (*gl_tab_hook) () = gl_tab;
+#endif /* __STDC__ */
int echo = (1 == 1);
--
Happy hacking
Petter Reinholdtsen
Reply to: