aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gprof/ChangeLog7
-rw-r--r--gprof/i386.c4
-rw-r--r--gprof/tahoe.c18
-rw-r--r--gprof/vax.c3
4 files changed, 19 insertions, 13 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 4ae081d..7a1346f 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,10 @@
+2002-01-26 Richard Henderson <rth@redhat.com>
+
+ * i386.c (i386_iscall): Static.
+ * tahoe.c (indirectchild, tahoe_operandmode): Static.
+ (tahoe_operandlength, tahoe_reladdr): Static.
+ * vax.c (indirectchild): Static.
+
2002-01-26 Hans-Peter Nilsson <hp@bitrange.com>
* Makefile.am (install): Depend on install-info.
diff --git a/gprof/i386.c b/gprof/i386.c
index 8836dc3..e30648f 100644
--- a/gprof/i386.c
+++ b/gprof/i386.c
@@ -22,10 +22,10 @@
#include "hist.h"
#include "symtab.h"
-int i386_iscall PARAMS ((unsigned char *));
+static int i386_iscall PARAMS ((unsigned char *));
void i386_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
-int
+static int
i386_iscall (ip)
unsigned char *ip;
{
diff --git a/gprof/tahoe.c b/gprof/tahoe.c
index f9f72c0..214309a 100644
--- a/gprof/tahoe.c
+++ b/gprof/tahoe.c
@@ -44,15 +44,15 @@ typedef enum tahoe_opermodes tahoe_operandenum;
/*
* A symbol to be the child of indirect callf:
*/
-Sym indirectchild;
+static Sym indirectchild;
-tahoe_operandenum tahoe_operandmode PARAMS ((unsigned char *));
-char *tahoe_operandname PARAMS ((tahoe_operandenum));
-long tahoe_operandlength PARAMS ((unsigned char *));
-bfd_vma tahoe_reladdr PARAMS ((char *));
+static tahoe_operandenum tahoe_operandmode PARAMS ((unsigned char *));
+static char *tahoe_operandname PARAMS ((tahoe_operandenum));
+static long tahoe_operandlength PARAMS ((unsigned char *));
+static bfd_vma tahoe_reladdr PARAMS ((char *));
void tahoe_find_call PARAMS ((Sym *, bfd_vma, bfd_vma));
-tahoe_operandenum
+static tahoe_operandenum
tahoe_operandmode (modep)
unsigned char *modep;
{
@@ -94,7 +94,7 @@ tahoe_operandmode (modep)
abort ();
}
-char *
+static char *
tahoe_operandname (mode)
tahoe_operandenum mode;
{
@@ -148,7 +148,7 @@ tahoe_operandname (mode)
abort ();
}
-long
+static long
tahoe_operandlength (modep)
unsigned char *modep;
{
@@ -186,7 +186,7 @@ tahoe_operandlength (modep)
abort ();
}
-bfd_vma
+static bfd_vma
tahoe_reladdr (modep)
char *modep;
{
diff --git a/gprof/vax.c b/gprof/vax.c
index 9d67430..bce1e72 100644
--- a/gprof/vax.c
+++ b/gprof/vax.c
@@ -50,8 +50,7 @@ struct modebyte
/*
* A symbol to be the child of indirect calls:
*/
-Sym indirectchild;
-
+static Sym indirectchild;
static operandenum vax_operandmode PARAMS ((struct modebyte *));
static char *vax_operandname PARAMS ((operandenum));