<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,2 +1,5 @@
 require 'mkmf'
+
+$CFLAGS = '-Wall ' + $CFLAGS
+
 create_makefile('rb232', 'src')</diff>
      <filename>extconf.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,6 +3,7 @@
 
 #include &lt;fcntl.h&gt;
 #include &lt;termios.h&gt;
+#include &lt;unistd.h&gt;
 
 /* Module and class handles */
 VALUE RB232 = Qnil;
@@ -40,6 +41,8 @@ VALUE rb232_port_data_free(void* p) {
     /* Free memory */
     free(port_data-&gt;port_name);
     free(port_data);
+    /* Done */
+    return Qnil;
 }
 
 /*
@@ -265,6 +268,7 @@ VALUE rb232_port_read_bytes(VALUE self, VALUE count) {
     for (i=0; i&lt;bytes_read; i++) {
         rb_ary_push(data, INT2NUM(buffer[i]));
     }
+    return data;
 }
 
 /*</diff>
      <filename>src/port.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>efb83dc900a01aafc89b2cdc4895620af0300e95</id>
    </parent>
  </parents>
  <author>
    <name>James Smith</name>
    <email>james@floppy.org.uk</email>
  </author>
  <url>http://github.com/Floppy/rb232/commit/51448da4774b5e812f88558cc2586515bf2b3b61</url>
  <id>51448da4774b5e812f88558cc2586515bf2b3b61</id>
  <committed-date>2008-08-21T15:30:21-07:00</committed-date>
  <authored-date>2008-08-21T15:30:21-07:00</authored-date>
  <message>Show all C warnings, and fix the ones that appeared</message>
  <tree>b371628609c8c95b8f3561893e706dfdc329d4a2</tree>
  <committer>
    <name>James Smith</name>
    <email>james@floppy.org.uk</email>
  </committer>
</commit>
