mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 06:50:12 +00:00
lwp: Cleanup redundant definitions in lwp.h
Several of the definitions in src/lwp/lwp.h are redundant between AFS_NT40_ENV and all other platforms. Clean these up to make lwp.h more readable. Change-Id: Ieba4bf00c4e7639c6ed0c893de8f26bdb322675b Reviewed-on: https://gerrit.openafs.org/16031 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Cheyenne Wills <cwills@sinenomine.net> Reviewed-by: Andrew Deason <adeason@sinenomine.net> Reviewed-by: Mark Vitale <mvitale@sinenomine.net> Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
This commit is contained in:
parent
956c0d7d57
commit
378a483560
@ -248,31 +248,23 @@ extern int IOMGR_Initialize(void);
|
||||
extern void IOMGR_FreeFDSet(fd_set * fds);
|
||||
extern int IOMGR_SoftSig(void *(*aproc) (void *), void *arock);
|
||||
|
||||
#ifdef AFS_NT40_ENV
|
||||
/* lwp.c */
|
||||
extern int LWP_InitializeProcessSupport(int priority, PROCESS * pid);
|
||||
extern int LWP_DestroyProcess(PROCESS pid);
|
||||
extern int LWP_DispatchProcess(void);
|
||||
extern int LWP_WaitProcess(void *event);
|
||||
extern int LWP_INTERNALSIGNAL(void *event, int yield);
|
||||
extern int LWP_QWait(void);
|
||||
extern int LWP_QSignal(PROCESS pid);
|
||||
extern int LWP_TerminateProcessSupport(void);
|
||||
#ifdef AFS_NT40_ENV
|
||||
extern int LWP_CreateProcess(int (*funP) (), int stacksize, int priority,
|
||||
void *argP, char *name, PROCESS * pid);
|
||||
extern int LWP_DestroyProcess(PROCESS pid);
|
||||
extern int LWP_DispatchProcess(void);
|
||||
extern int LWP_WaitProcess(void *event);
|
||||
extern int LWP_INTERNALSIGNAL(void *event, int yield);
|
||||
extern int LWP_QWait(void);
|
||||
extern int LWP_QSignal(PROCESS pid);
|
||||
extern int LWP_TerminateProcessSupport(void);
|
||||
#else
|
||||
extern int LWP_CurrentProcess(PROCESS * pid);
|
||||
extern int LWP_INTERNALSIGNAL(void *event, int yield);
|
||||
extern int LWP_InitializeProcessSupport(int priority, PROCESS * pid);
|
||||
extern int LWP_CreateProcess(void *(*ep)(void *), int stacksize, int priority,
|
||||
void *parm, char *name, PROCESS * pid);
|
||||
extern int LWP_DestroyProcess(PROCESS pid);
|
||||
extern int LWP_DispatchProcess(void);
|
||||
extern int LWP_WaitProcess(void *event);
|
||||
extern PROCESS LWP_ThreadId(void);
|
||||
extern int LWP_QWait(void);
|
||||
extern int LWP_QSignal(PROCESS pid);
|
||||
extern int LWP_TerminateProcessSupport(void);
|
||||
#endif
|
||||
|
||||
#ifdef AFS_SUN5_ENV
|
||||
|
Loading…
Reference in New Issue
Block a user