OSDN Git Service

* lex.c (lang_init_options): New function.
[pf3gnuchains/gcc-fork.git] / gcc / gcov-io.h
index 59d802c..e49511d 100644 (file)
@@ -22,6 +22,7 @@ Boston, MA 02111-1307, USA.  */
 #ifndef GCOV_IO_H
 #define GCOV_IO_H
 #include <stdio.h>
+#include <sys/types.h>
 
 /* These routines only work for signed values. */
 
@@ -33,10 +34,10 @@ static int
 __store_long (value, dest, bytes)
      long value;
      char *dest;
-     int bytes;
+     size_t bytes;
 {
   int upper_bit = (value < 0 ? 128 : 0);
-  int i;
+  size_t i;
 
   if (value < 0)
     {
@@ -100,7 +101,7 @@ static int
 __write_long (value, file, bytes)
      long value;
      FILE *file;
-     int bytes;
+     size_t bytes;
 {
   char c[10];
 
@@ -123,7 +124,7 @@ static int
 __read_long (dest, file, bytes)
      long *dest;
      FILE *file;
-     int bytes;
+     size_t bytes;
 {
   char c[10];