From 50c1ff2b2f455c919f4aaf8e20c2d7697ac4bb7d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 14 Jun 2002 12:34:51 +0000 Subject: removed sleep.c, the sleep() code was moved into thread.c as the functionality is so closely related git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1003 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/x11/Makefile | 2 +- uisimulator/x11/sleep.c | 28 ---------------------------- 2 files changed, 1 insertion(+), 29 deletions(-) delete mode 100644 uisimulator/x11/sleep.c diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile index cf84f2be61..0aac0a0783 100644 --- a/uisimulator/x11/Makefile +++ b/uisimulator/x11/Makefile @@ -77,7 +77,7 @@ ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP) endif SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c mpeg.c \ - button-x11.c io.c sleep.c thread.c $(APPS) $(FIRMSRCS) + button-x11.c io.c thread.c $(APPS) $(FIRMSRCS) ifdef MPEG_PLAY SRCS += mpegplay.c oss_sound.c bit.c decoder.c fixed.c frame.c huffman.c layer12.c layer3.c stream.c synth.c timer.c version.c diff --git a/uisimulator/x11/sleep.c b/uisimulator/x11/sleep.c deleted file mode 100644 index b888664122..0000000000 --- a/uisimulator/x11/sleep.c +++ /dev/null @@ -1,28 +0,0 @@ -/*************************************************************************** - * __________ __ ___. - * Open \______ \ ____ ____ | | _\_ |__ _______ ___ - * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / - * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < - * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ - * \/ \/ \/ \/ \/ - * $Id$ - * - * Copyright (C) 2002 by Daniel Stenberg - * - * All files in this archive are subject to the GNU General Public License. - * See the file COPYING in the source tree root for full license agreement. - * - * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY - * KIND, either express or implied. - * - ****************************************************************************/ - -#include "kernel.h" -#include - -/* ticks is HZ per second */ -void x11_sleep(int ticks) -{ - /* portable subsecond "sleep" */ - poll((void *)0, 0, ticks * 1000/HZ); -} -- cgit v1.2.3