summaryrefslogtreecommitdiff
path: root/gprof/gmon_io.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-05-16 05:26:57 +0000
committerAlexandre Oliva <aoliva@redhat.com>2001-05-16 05:26:57 +0000
commit90431153f1f92519e84a3e8b4da5d12de646bc6e (patch)
tree3352b7658dc4aceea1cdfde3406450ec8d999773 /gprof/gmon_io.c
parentc918638f650c619d13ca2309263deb6e5ef934d7 (diff)
downloadbinutils-redhat-90431153f1f92519e84a3e8b4da5d12de646bc6e.tar.gz
* gmon_io.c (gmon_io_read, gmon_io_write_vma,
gmon_io_write_32, gmon_io_write_8, gmon_io_write): Adjust argument list for K&R C.
Diffstat (limited to 'gprof/gmon_io.c')
-rw-r--r--gprof/gmon_io.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gprof/gmon_io.c b/gprof/gmon_io.c
index d7618894ce..cff132cb5a 100644
--- a/gprof/gmon_io.c
+++ b/gprof/gmon_io.c
@@ -76,7 +76,7 @@ DEFUN (gmon_io_read_32, (ifp, valp), FILE * ifp AND unsigned int *valp)
}
int
-DEFUN (gmon_io_read, (ifp, valp), FILE * ifp AND char *buf AND size_t n)
+DEFUN (gmon_io_read, (ifp, buf, n), FILE * ifp AND char *buf AND size_t n)
{
if (fread (buf, 1, n, ifp) != n)
return 1;
@@ -84,7 +84,7 @@ DEFUN (gmon_io_read, (ifp, valp), FILE * ifp AND char *buf AND size_t n)
}
int
-DEFUN (gmon_io_write_vma, (ofp, valp), FILE * ofp AND bfd_vma val)
+DEFUN (gmon_io_write_vma, (ofp, val), FILE * ofp AND bfd_vma val)
{
char buf[8];
@@ -111,7 +111,7 @@ DEFUN (gmon_io_write_vma, (ofp, valp), FILE * ofp AND bfd_vma val)
}
int
-DEFUN (gmon_io_write_32, (ofp, valp), FILE * ofp AND unsigned int val)
+DEFUN (gmon_io_write_32, (ofp, val), FILE * ofp AND unsigned int val)
{
char buf[4];
@@ -122,7 +122,7 @@ DEFUN (gmon_io_write_32, (ofp, valp), FILE * ofp AND unsigned int val)
}
int
-DEFUN (gmon_io_write_8, (ofp, valp), FILE * ofp AND unsigned char val)
+DEFUN (gmon_io_write_8, (ofp, val), FILE * ofp AND unsigned char val)
{
char buf[1];
@@ -133,7 +133,7 @@ DEFUN (gmon_io_write_8, (ofp, valp), FILE * ofp AND unsigned char val)
}
int
-DEFUN (gmon_io_write, (ofp, valp), FILE * ofp AND char *buf AND size_t n)
+DEFUN (gmon_io_write, (ofp, buf, n), FILE * ofp AND char *buf AND size_t n)
{
if (fwrite (buf, 1, n, ofp) != n)
return 1;