summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-08-31 11:10:17 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-08-31 11:10:17 -0700
commit6cc122f491ca9a069dbd226b9fe7529dbcf61058 (patch)
tree57ebbfda40eaf6eb84119753e0ce53eb2e6a696a
parent2044dabc81062c22c7f95a2e0e57f931cee0205f (diff)
downloadsubsurface-6cc122f491ca9a069dbd226b9fe7529dbcf61058.tar.gz
Add 'repaint_dive()' prototype, and fix dependencies
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--Makefile6
-rw-r--r--display.h1
2 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 244bf3979..41058147c 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 29b21a654..8a8b42634 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