This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
A prototype patch for gcov-io.h
- To: egcs-patches at cygnus dot com
- Subject: A prototype patch for gcov-io.h
- From: hjl at lucon dot org (H.J. Lu)
- Date: Sat, 20 Jun 1998 17:16:21 -0700 (PDT)
Another prototype patch.
--
H.J. Lu (hjl@gnu.org)
---
Sat Jun 20 16:58:47 1998 H.J. Lu (hjl@gnu.org)
* gcov-io.h (__fetch_long): New declaration.
(__store_long): Likewise.
(__read_long): Likewise.
(__write_long): Likewise.
Index: gcov-io.h
===================================================================
RCS file: /home/work/cvs/gnu/egcs/gcc/gcov-io.h,v
retrieving revision 1.1.1.3
diff -u -p -r1.1.1.3 gcov-io.h
--- gcov-io.h 1998/01/14 03:09:57 1.1.1.3
+++ gcov-io.h 1998/06/21 00:13:13
@@ -24,6 +24,11 @@ Boston, MA 02111-1307, USA. */
#include <stdio.h>
#include <sys/types.h>
+static int __fetch_long PROTO((long *, char *, int));
+static int __store_long PROTO((long, char *, size_t));
+static int __read_long PROTO((long *, FILE *, size_t));
+static int __write_long PROTO((long, FILE *, size_t));
+
/* These routines only work for signed values. */
/* Store a portable representation of VALUE in DEST using BYTES*8-1 bits.