OSDN Git Service

2002-02-02 H.J. Lu (hjl@gnu.org)
[pf3gnuchains/gcc-fork.git] / libchill / waitbuffer.c
index cc84295..2d967d9 100644 (file)
@@ -26,6 +26,7 @@ Boston, MA 02111-1307, USA.  */
    This exception does not however invalidate any other reasons why
    the executable file might be covered by the GNU General Public License.  */
 
+#include <string.h>
 #include "rtltypes.h"
 #include "rts.h"
 
@@ -58,7 +59,7 @@ EXCEPTION (spacefail);
  * exceptions:
  *     bufferinconsistency  if something's wrong in the buffer queue's
  *     spacefail            out of heap space of datalength of receiver
- *                          less then data avilable.
+ *                          less than data avilable.
  *
  * abstract:
  *     implement the CHILL RECEIVE buffer CASE action.
@@ -279,7 +280,7 @@ __wait_buffer (buf_got, nbuf, bufptr, datap, datalen, ins,
           if (retval == 0)
               retval = start_list->bufferaddr;
           else
-              /* more then one has been sent, that's wrong */
+              /* more than one has been sent, that's wrong */
               CAUSE_BUFFINCONS;
           
           /* update instance, if present */