lwp: add missing lwp prototypes for solaris 08/13008/3
authorMichael Meffie <mmeffie@sinenomine.net>
Tue, 10 Apr 2018 22:29:44 +0000 (18:29 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Tue, 14 Aug 2018 22:36:38 +0000 (18:36 -0400)
Add missing lwp function prototypes for Solaris. This fixes the compile time
warning messages:

  warning: implicit function declaration: LWP_NoYieldSignal

Change-Id: I69c3660bb2631215cd296c08729c8e84d60660fd
Reviewed-on: https://gerrit.openafs.org/13008
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>

src/lwp/lwp.h

index 3b58c59..68d3d42 100644 (file)
@@ -269,6 +269,11 @@ extern int LWP_QWait(void);
 extern int LWP_QSignal(PROCESS pid);
 #endif
 
+#ifdef AFS_SUN5_ENV
+extern int LWP_NoYieldSignal(void *event);
+extern int LWP_SignalProcess(void *event);
+#endif
+
 extern afs_int32 savecontext(void (*ep)(void),
                             struct lwp_context *savearea, char *sp);
 extern void returnto(struct lwp_context *savearea);