logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

cvs: uisimulator/win32 Makefile,1.67,1.68 timefuncs.h,1.1,1.2: msg#00061

Subject: cvs: uisimulator/win32 Makefile,1.67,1.68 timefuncs.h,1.1,1.2
Update of /cvsroot/rockbox/uisimulator/win32
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24760/uisimulator/win32

Modified Files:
        Makefile timefuncs.h 
Log Message:
Reworked the time get/set functions

Index: Makefile
===================================================================
RCS file: /cvsroot/rockbox/uisimulator/win32/Makefile,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -b -r1.67 -r1.68
--- Makefile    14 Jan 2004 00:13:04 -0000      1.67
+++ Makefile    20 Apr 2004 10:23:56 -0000      1.68
@@ -97,7 +97,8 @@
        LCDSRSC = lcd-playersim.c lcd-player.c lcd-player-charset.c 
font-player.c
 endif
 FIRMSRCS = $(LCDSRSC) id3.c mp3data.c usb.c mpeg.c mp3_playback.c \
-       powermgmt.c power.c sprintf.c buffer.c lcd-common.c strtok.c random.c
+       powermgmt.c power.c sprintf.c buffer.c lcd-common.c strtok.c random.c \
+       timefuncs.c
 
 APPS = main.c tree.c menu.c credits.c main_menu.c icons.c language.c \
        playlist.c wps.c wps-display.c settings.c status.c \
@@ -284,6 +285,9 @@
 $(OBJDIR)/strtok.o: $(COMMON)/strtok.c
        $(CC) $(CFLAGS) -c $< -o $@
 
+$(OBJDIR)/timefuncs.o: $(COMMON)/timefuncs.c
+       $(CC) $(CFLAGS) -c $< -o $@
+
 $(OBJDIR)/stubs.o: $(SIMCOMMON)/stubs.c
        $(CC) $(CFLAGS) -c $< -o $@
 

Index: timefuncs.h
===================================================================
RCS file: /cvsroot/rockbox/uisimulator/win32/timefuncs.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- timefuncs.h 15 Feb 2003 00:02:37 -0000      1.1
+++ timefuncs.h 20 Apr 2004 10:23:56 -0000      1.2
@@ -1,4 +1,7 @@
 #include <time.h>
+#include <stdbool.h>
 
 /* struct tm defined */
 struct tm *get_time(void);
+int set_time(struct tm *tm);
+bool valid_time(struct tm *tm);

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs



<Prev in Thread] Current Thread [Next in Thread>