From f33637ace177db93373f5371be477da9151ab67b Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 16 Oct 2020 18:13:32 -0700 Subject: [PATCH] remove unused SFIO vthread prototypes --- lib/sfio/vthread.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/lib/sfio/vthread.h b/lib/sfio/vthread.h index 2dff550a6..d8cc18f09 100644 --- a/lib/sfio/vthread.h +++ b/lib/sfio/vthread.h @@ -61,15 +61,6 @@ extern "C" { #define EPERM 1 #endif - extern Vthread_t *vtopen(Vthread_t *, int); - extern int vtclose(Vthread_t *); - extern int vtset(Vthread_t *, int, void *); - extern int vtrun(Vthread_t *, void *(*)(void *), void *); - extern int vtkill(Vthread_t *); - extern int vtwait(Vthread_t *); - -/* extern int vtonce(Vtonce_t *, void (*)()); */ - extern Vtmutex_t *vtmtxopen(Vtmutex_t *, int); extern int vtmtxclose(Vtmutex_t *); extern int vtmtxlock(Vtmutex_t *); @@ -98,15 +89,6 @@ extern "C" { #define VTONCE_INITDATA {0} -#define vtopen(vt,flgs) ((Vthread_t*)0) -#define vtclose(vt) (-1) -#define vtkill(vt) (-1) -#define vtwait(vt) (-1) -#define vtrun(vt,fn,arg) (-1) - -#define vtset(vt,t,v) (-1) -#define vtonce(on,fu) (-1) - #define vtmtxopen(mtx,flgs) (void)((Vtmutex_t*)0) #define vtmtxclose(mtx) (void)(-1) #define vtmtxlock(mtx) (void)(-1) -- 2.40.0