return newname;
}
-static char *get_mmap_base_file()
+static char *get_mmap_base_file(void)
{
static char windir[MAXPATHLEN+UNLEN + 3 + sizeof("\\\\@")];
char uname[UNLEN + 1];
ReleaseMutex(memory_mutex);
}
-void zend_shared_alloc_lock_win32()
+void zend_shared_alloc_lock_win32(void)
{
DWORD waitRes = WaitForSingleObject(memory_mutex, INFINITE);
}
}
-void zend_shared_alloc_unlock_win32(TSRMLS_D)
+void zend_shared_alloc_unlock_win32(void)
{
ReleaseMutex(memory_mutex);
}
void zend_shared_alloc_save_state(void);
void zend_shared_alloc_restore_state(void);
size_t zend_shared_alloc_get_largest_free_block(void);
-const char *zend_accel_get_shared_model();
+const char *zend_accel_get_shared_model(void);
/* memory write protection */
void zend_accel_shared_protect(int mode TSRMLS_DC);
#ifdef ZEND_WIN32
extern zend_shared_memory_handlers zend_alloc_win32_handlers;
-void zend_shared_alloc_create_lock();
-void zend_shared_alloc_lock_win32();
-void zend_shared_alloc_unlock_win32();
+void zend_shared_alloc_create_lock(void);
+void zend_shared_alloc_lock_win32(void);
+void zend_shared_alloc_unlock_win32(void);
#endif
#endif /* ZEND_SHARED_ALLOC_H */