Commit c5ac15e0 authored by Manish Singh's avatar Manish Singh

add declaration to get interface.c to compile

* app/disp_callbacks.h: add declaration to get interface.c to compile

* autogen.sh: make sure we know about ACLOCAL_FLAGS

* I went on a compiler warning pogrom

-Yosh
parent 4d128552
Tue Jun 9 04:36:52 PDT 1998 Manish Singh <yosh@gimp.org>
* Got rid of a bunch of warnings when compiling plugins
* app/disp_callbacks.h: add declaration to get interface.c
to compile
* autogen.sh: make sure we know about ACLOCAL_FLAGS
Tue Jun 9 11:18:03 MEST 1998 Sven Neumann <sven@gimp.org> Tue Jun 9 11:18:03 MEST 1998 Sven Neumann <sven@gimp.org>
* app/disp_callbacks.c * app/disp_callbacks.c
......
...@@ -108,4 +108,8 @@ make color picker able to choose from any color on the screen ...@@ -108,4 +108,8 @@ make color picker able to choose from any color on the screen
Text tool
More complete font selection
Multiple lines and alignment
...@@ -28,6 +28,6 @@ ...@@ -28,6 +28,6 @@
gint gdisplay_canvas_events (GtkWidget *, GdkEvent *); gint gdisplay_canvas_events (GtkWidget *, GdkEvent *);
gint gdisplay_hruler_button_press (GtkWidget *, GdkEventButton *, gpointer); gint gdisplay_hruler_button_press (GtkWidget *, GdkEventButton *, gpointer);
gint gdisplay_vruler_button_press (GtkWidget *, GdkEventButton *, gpointer); gint gdisplay_vruler_button_press (GtkWidget *, GdkEventButton *, gpointer);
gint gdisplay_origin_button_press (GtkWidget *, GdkEventButton *, gpointer);
#endif /* __DISP_CALLBACKS_H__ */ #endif /* __DISP_CALLBACKS_H__ */
...@@ -28,6 +28,6 @@ ...@@ -28,6 +28,6 @@
gint gdisplay_canvas_events (GtkWidget *, GdkEvent *); gint gdisplay_canvas_events (GtkWidget *, GdkEvent *);
gint gdisplay_hruler_button_press (GtkWidget *, GdkEventButton *, gpointer); gint gdisplay_hruler_button_press (GtkWidget *, GdkEventButton *, gpointer);
gint gdisplay_vruler_button_press (GtkWidget *, GdkEventButton *, gpointer); gint gdisplay_vruler_button_press (GtkWidget *, GdkEventButton *, gpointer);
gint gdisplay_origin_button_press (GtkWidget *, GdkEventButton *, gpointer);
#endif /* __DISP_CALLBACKS_H__ */ #endif /* __DISP_CALLBACKS_H__ */
...@@ -28,6 +28,6 @@ ...@@ -28,6 +28,6 @@
gint gdisplay_canvas_events (GtkWidget *, GdkEvent *); gint gdisplay_canvas_events (GtkWidget *, GdkEvent *);
gint gdisplay_hruler_button_press (GtkWidget *, GdkEventButton *, gpointer); gint gdisplay_hruler_button_press (GtkWidget *, GdkEventButton *, gpointer);
gint gdisplay_vruler_button_press (GtkWidget *, GdkEventButton *, gpointer); gint gdisplay_vruler_button_press (GtkWidget *, GdkEventButton *, gpointer);
gint gdisplay_origin_button_press (GtkWidget *, GdkEventButton *, gpointer);
#endif /* __DISP_CALLBACKS_H__ */ #endif /* __DISP_CALLBACKS_H__ */
...@@ -42,7 +42,7 @@ if test -z "$*"; then ...@@ -42,7 +42,7 @@ if test -z "$*"; then
fi fi
echo processing... echo processing...
(aclocal; automake; autoconf) (aclocal $ACLOCAL_FLAGS; automake; autoconf)
./configure "$@" ./configure "$@"
echo echo
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <math.h>
#include <gdk/gdk.h> #include <gdk/gdk.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gck/gck.h> #include <gck/gck.h>
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <math.h>
#include <gdk/gdk.h> #include <gdk/gdk.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <gck/gck.h> #include <gck/gck.h>
......
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <math.h>
#include "gtk/gtk.h" #include "gtk/gtk.h"
#include "libgimp/gimp.h" #include "libgimp/gimp.h"
......
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
* *
****************************************************************************/ ****************************************************************************/
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <time.h> #include <time.h>
#include "libgimp/gimp.h" #include "libgimp/gimp.h"
......
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <math.h>
#include "gtk/gtk.h" #include "gtk/gtk.h"
#include "libgimp/gimp.h" #include "libgimp/gimp.h"
......
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
* *
****************************************************************************/ ****************************************************************************/
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <time.h> #include <time.h>
#include "libgimp/gimp.h" #include "libgimp/gimp.h"
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
*/ */
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <math.h> #include <math.h>
#include "libgimp/gimp.h" #include "libgimp/gimp.h"
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
/******************************************************************************/ /******************************************************************************/
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <math.h> #include <math.h>
......
...@@ -65,6 +65,7 @@ ...@@ -65,6 +65,7 @@
*/ */
#include <math.h> #include <math.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <libgimp/gimp.h> #include <libgimp/gimp.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
*******************************************************************************/ *******************************************************************************/
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <math.h> #include <math.h>
......
...@@ -44,6 +44,8 @@ ...@@ -44,6 +44,8 @@
* Smash all bugs :-) * Smash all bugs :-)
*/ */
#include <stdlib.h>
#include <math.h>
#include <signal.h> #include <signal.h>
#include <unistd.h> #include <unistd.h>
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <math.h>
#include <libgimp/gimp.h> #include <libgimp/gimp.h>
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include "gtk/gtk.h" #include "gtk/gtk.h"
#include "libgimp/gimp.h" #include "libgimp/gimp.h"
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
*******************************************************************************/ *******************************************************************************/
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <libgimp/gimp.h> #include <libgimp/gimp.h>
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
*/ */
#include <math.h> #include <math.h>
#include <stdio.h>
#include <signal.h> #include <signal.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
* speedup (thanks to quartic for this suggestion). * speedup (thanks to quartic for this suggestion).
*/ */
#include <stdlib.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <libgimp/gimp.h> #include <libgimp/gimp.h>
......
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
#include <time.h> #include <time.h>
#include <math.h> #include <math.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h>
#include "gtk/gtk.h" #include "gtk/gtk.h"
#include "libgimp/gimp.h" #include "libgimp/gimp.h"
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <math.h> #include <math.h>
#include <string.h> #include <string.h>
#include <stdlib.h>
#include <libgimp/gimp.h> #include <libgimp/gimp.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
......
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
#include <math.h> #include <math.h>
#include <signal.h> #include <signal.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include "gtk/gtk.h" #include "gtk/gtk.h"
......
...@@ -32,6 +32,7 @@ Previous...Inherited code from Ray Lehtiniemi, who inherited it from S & P. ...@@ -32,6 +32,7 @@ Previous...Inherited code from Ray Lehtiniemi, who inherited it from S & P.
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <math.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/xpm.h> #include <X11/xpm.h>
#include "gtk/gtk.h" #include "gtk/gtk.h"
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
/* end of configuration */ /* end of configuration */
#include <stdlib.h>
#include "gtk/gtk.h" #include "gtk/gtk.h"
#include "libgimp/gimp.h" #include "libgimp/gimp.h"
#include "dbbrowser.h" #include "dbbrowser.h"
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
/* end of configuration */ /* end of configuration */
#include <stdlib.h>
#include "gtk/gtk.h" #include "gtk/gtk.h"
#include "libgimp/gimp.h" #include "libgimp/gimp.h"
#include "dbbrowser.h" #include "dbbrowser.h"
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#define VERSION "0.6" #define VERSION "0.6"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <string.h> #include <string.h>
#include <fcntl.h> #include <fcntl.h>
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
*/ */
#include <math.h>
#include <ctype.h> #include <ctype.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -42,6 +42,8 @@ ...@@ -42,6 +42,8 @@
*/ */
#include <stdio.h>
#include <stdlib.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <libgimp/gimp.h> #include <libgimp/gimp.h>
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
*/ */
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <math.h> #include <math.h>
#include "libgimp/gimp.h" #include "libgimp/gimp.h"
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
/******************************************************************************/ /******************************************************************************/
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <math.h> #include <math.h>
......
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <dirent.h> #include <dirent.h>
#include <ctype.h> #include <ctype.h>
#include <math.h>
#include "gtk/gtk.h" #include "gtk/gtk.h"
#include "libgimp/gimp.h" #include "libgimp/gimp.h"
#include "pix_data.h" #include "pix_data.h"
......
...@@ -65,6 +65,7 @@ ...@@ -65,6 +65,7 @@
*/ */
#include <math.h> #include <math.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <libgimp/gimp.h> #include <libgimp/gimp.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
*******************************************************************************/ *******************************************************************************/
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <math.h> #include <math.h>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
/* USA. */ /* USA. */
/***************************************************************************/ /***************************************************************************/
#include <math.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <gdk/gdk.h> #include <gdk/gdk.h>
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
/* option menus, entry fields, scales and checkbuttons. */ /* option menus, entry fields, scales and checkbuttons. */
/***********************************************************/ /***********************************************************/
#include <math.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <gdk/gdk.h> #include <gdk/gdk.h>
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
* *
*/ */
#include <stdlib.h>
#include "maze.h" #include "maze.h"
#include "libgimp/gimp.h" #include "libgimp/gimp.h"
#include "libgimp/gimpui.h" #include "libgimp/gimpui.h"
......
...@@ -23,10 +23,8 @@ ...@@ -23,10 +23,8 @@
* *
*/ */
#ifdef MAZE_DEBUG
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#endif /* MAZE_DEBUG */
#include "maze.h" #include "maze.h"
#include "libgimp/gimp.h" #include "libgimp/gimp.h"
......
...@@ -44,6 +44,8 @@ ...@@ -44,6 +44,8 @@
* Smash all bugs :-) * Smash all bugs :-)
*/ */
#include <stdlib.h>
#include <math.h>
#include <signal.h> #include <signal.h>
#include <unistd.h> #include <unistd.h>
......
...@@ -39,6 +39,8 @@ ...@@ -39,6 +39,8 @@
*/ */
#include <stdio.h>
#include <stdlib.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <libgimp/gimp.h> #include <libgimp/gimp.h>
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <math.h>
#include <libgimp/gimp.h> #include <libgimp/gimp.h>
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include "gtk/gtk.h" #include "gtk/gtk.h"
#include "libgimp/gimp.h" #include "libgimp/gimp.h"
......
...@@ -792,7 +792,7 @@ static void init_calculation () { ...@@ -792,7 +792,7 @@ static void init_calculation () {
static void do_curl_effect (void) { static void do_curl_effect (void) {
gint x, y, color_image; gint x, y, color_image;
gint x1, y1, k; gint x1, y1, k;
guint alpha_pos, progress, max_progress, nreturn_vals; guint alpha_pos, progress, max_progress;
gdouble intensity, alpha, beta; gdouble intensity, alpha, beta;
vector_t v, dl, dr; vector_t v, dl, dr;
gdouble dl_mag, dr_mag, angle, factor; gdouble dl_mag, dr_mag, angle, factor;
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
*******************************************************************************/ *******************************************************************************/
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <libgimp/gimp.h> #include <libgimp/gimp.h>
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
*/ */
#include <math.h> #include <math.h>
#include <stdio.h>
#include <signal.h> #include <signal.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
* speedup (thanks to quartic for this suggestion). * speedup (thanks to quartic for this suggestion).
*/ */
#include <stdlib.h>
#include <gtk/gtk.h>