From 6cc122f491ca9a069dbd226b9fe7529dbcf61058 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Wed, 31 Aug 2011 11:10:17 -0700 Subject: [PATCH] Add 'repaint_dive()' prototype, and fix dependencies Signed-off-by: Linus Torvalds --- Makefile | 6 +++--- display.h | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 244bf39..4105814 100644 --- a/Makefile +++ b/Makefile @@ -10,11 +10,11 @@ parse: $(OBJS) parse.o: parse.c dive.h $(CC) $(CFLAGS) -c `xml2-config --cflags` parse.c -main.o: main.c dive.h +main.o: main.c dive.h display.h $(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` -c main.c -profile.o: profile.c dive.h +profile.o: profile.c dive.h display.h $(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` -c profile.c -divelist.o: divelist.c dive.h +divelist.o: divelist.c dive.h display.h $(CC) $(CFLAGS) `pkg-config --cflags gtk+-2.0` -c divelist.c diff --git a/display.h b/display.h index 29b21a6..8a8b426 100644 --- a/display.h +++ b/display.h @@ -8,5 +8,6 @@ extern int selected_dive; extern GtkWidget *dive_profile_frame(void); extern GtkWidget *create_dive_list(void); +extern void repaint_dive(void); #endif -- 2.43.0