fixed a compiler error on solaris
authorGengbin Zheng <gzheng@illinois.edu>
Tue, 28 Oct 2008 15:36:40 +0000 (15:36 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Tue, 28 Oct 2008 15:36:40 +0000 (15:36 +0000)
src/conv-core/convcore.c

index 697c1abbdff7413e458a22a725076825cb01e77b..be22b9fb203ccb3bcc36dd4322c36891bbbe6edb 100644 (file)
@@ -1341,9 +1341,6 @@ void CsdSchedulerState_new(CsdSchedulerState_t *s)
 #endif
 }
 
-#if CMK_C_INLINE
-inline
-#endif
 void *CsdNextMessage(CsdSchedulerState_t *s) {
        void *msg;
        if((*(s->localCounter))-- >0)
@@ -1828,7 +1825,7 @@ CpvStaticDeclare(CmiUInt2, _reduce_seqID);
 int CmiGetReductionHandler() { return CpvAccess(CmiReductionMessageHandler); }
 CmiHandler CmiGetReductionDestination() { return _reduce_destination; }
 
-CmiReductionsInit() {
+void CmiReductionsInit() {
   int numChildren;
   CpvInitialize(int, CmiReductionMessageHandler);
   CpvAccess(CmiReductionMessageHandler) = CmiRegisterHandler((CmiHandler)CmiHandleReductionMessage);