summaryrefslogtreecommitdiff
path: root/ext/sqlite/sqlite.c
diff options
context:
space:
mode:
authorTal Peer <tal@php.net>2003-04-20 13:21:17 +0000
committerTal Peer <tal@php.net>2003-04-20 13:21:17 +0000
commitb0d26a11ac6ffe0222206a5635c64704ed8770f2 (patch)
treeb5f71fcde933ee83de59490908b6903b4f8b9d4a /ext/sqlite/sqlite.c
parent2a54c9a3082d4840926e1afff360e2547133fdd9 (diff)
downloadphp-git-b0d26a11ac6ffe0222206a5635c64704ed8770f2.tar.gz
Remove rendundant function
Diffstat (limited to 'ext/sqlite/sqlite.c')
-rw-r--r--ext/sqlite/sqlite.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/ext/sqlite/sqlite.c b/ext/sqlite/sqlite.c
index 2c13a692b5..b8f1b61877 100644
--- a/ext/sqlite/sqlite.c
+++ b/ext/sqlite/sqlite.c
@@ -119,20 +119,6 @@ zend_module_entry sqlite_module_entry = {
ZEND_GET_MODULE(sqlite)
#endif
-static void short_sleep(void)
-{
-#if HAVE_NANOSLEEP
- struct timespec req = { 0, 500 * 1000 };
- nanosleep(&req, NULL);
-#elif HAVE_USLEEP
- usleep(500 * 1000);
-#elif PHP_WIN32
- Sleep(500);
-#else
- php_sleep(1);
-#endif
-}
-
static ZEND_RSRC_DTOR_FUNC(php_sqlite_db_dtor)
{
if (rsrc->ptr) {