Mercurial > hg > octave-nkf > gnulib-hg
changeset 1446:d7a46a55964c
(xatoi): Ansideclify.
(fstype_to_string): Ansideclify.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sat, 25 Jul 1998 15:00:37 +0000 |
parents | d59bd56497f1 |
children | 88b49633a347 |
files | lib/mountlist.c |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/mountlist.c +++ b/lib/mountlist.c @@ -129,10 +129,10 @@ /* Return the value of the hexadecimal number represented by CP. No prefix (like '0x') or suffix (like 'h') is expected to be part of CP. */ +/* FIXME: this can overflow */ static int -xatoi (cp) - char *cp; +xatoi (char *cp) { int val; @@ -266,8 +266,7 @@ #ifdef MOUNTED_VMOUNT /* AIX. */ static char * -fstype_to_string (t) - int t; +fstype_to_string (int t) { struct vfs_ent *e;