projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae9fb01
)
(xatoi): Ansideclify.
author
Jim Meyering
<jim@meyering.net>
Sat, 25 Jul 1998 15:00:37 +0000
(15:00 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 25 Jul 1998 15:00:37 +0000
(15:00 +0000)
(fstype_to_string): Ansideclify.
lib/mountlist.c
patch
|
blob
|
history
diff --git
a/lib/mountlist.c
b/lib/mountlist.c
index 2759974cd66539f980b4cebe84757c731126f9b8..c063c6810ac864823f37dcd4f5d11cebe78db1bd 100644
(file)
--- a/
lib/mountlist.c
+++ b/
lib/mountlist.c
@@
-129,10
+129,10
@@
extern int errno;
/* 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
@@
fsp_to_string (const struct statfs *fsp)
#ifdef MOUNTED_VMOUNT /* AIX. */
static char *
-fstype_to_string (t)
- int t;
+fstype_to_string (int t)
{
struct vfs_ent *e;