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 | 7ca6976fa6b9956d1e6832ec428c87d5244c42e8 (patch) | |
tree | 0c3aeb8d8728b23540af7ba96dcb7416058adbf2 /gprof | |
parent | 98aec4737fbb31bd7093edfe575659ec56ab1060 (diff) | |
download | binutils-redhat-7ca6976fa6b9956d1e6832ec428c87d5244c42e8.tar.gz |
* i386.c (i386_iscall): Static.
* tahoe.c (indirectchild, tahoe_operandmode): Static.
(tahoe_operandlength, tahoe_reladdr): Static.
* vax.c (indirectchild): Static.
Diffstat (limited to 'gprof')
-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 4ae081d2e8..7a1346f745 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 8836dc3e99..e30648fe08 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 f9f72c0ad5..214309ac34 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 9d67430c4b..bce1e7218b 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)); |