From: Richard Henderson Date: Sun, 27 Jan 2002 02:43:52 +0000 (+0000) Subject: * i386.c (i386_iscall): Static. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b04e72964711ad05337b59eaabb10f4a94d7e0f;p=binutils-gdb.git * i386.c (i386_iscall): Static. * tahoe.c (indirectchild, tahoe_operandmode): Static. (tahoe_operandlength, tahoe_reladdr): Static. * vax.c (indirectchild): Static. --- diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 4ae081d2e83..7a1346f7452 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,10 @@ +2002-01-26 Richard Henderson + + * 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 * Makefile.am (install): Depend on install-info. diff --git a/gprof/i386.c b/gprof/i386.c index 8836dc3e99b..e30648fe08d 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 f9f72c0ad58..214309ac34e 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 9d67430c4ba..bce1e7218b9 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));