diff options
author | Richard Henderson <rth@redhat.com> | 2002-01-27 02:43:52 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2002-01-27 02:43:52 +0000 |
commit | 3b04e72964711ad05337b59eaabb10f4a94d7e0f (patch) | |
tree | 39ef416c0d6b0eeeb96d9d669e91bde2629de668 | |
parent | e82380ccbbc6fba0c3b800b82cafb481baa73280 (diff) | |
download | gdb-3b04e72964711ad05337b59eaabb10f4a94d7e0f.zip gdb-3b04e72964711ad05337b59eaabb10f4a94d7e0f.tar.gz gdb-3b04e72964711ad05337b59eaabb10f4a94d7e0f.tar.bz2 |
* i386.c (i386_iscall): Static.
* tahoe.c (indirectchild, tahoe_operandmode): Static.
(tahoe_operandlength, tahoe_reladdr): Static.
* vax.c (indirectchild): Static.
-rw-r--r-- | gprof/ChangeLog | 7 | ||||
-rw-r--r-- | gprof/i386.c | 4 | ||||
-rw-r--r-- | gprof/tahoe.c | 18 | ||||
-rw-r--r-- | gprof/vax.c | 3 |
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)); |