forked from Imagelibrary/binutils-gdb
gas remove assorted unnecessary casts
This continues the saga of removing unnecessary casts, and making small code tidies in gas. Hopefully this sees the last of K&R anachronisms.
This commit is contained in:
13
gas/debug.c
13
gas/debug.c
@@ -22,7 +22,8 @@
|
||||
#include "as.h"
|
||||
#include "subsegs.h"
|
||||
|
||||
dmp_frags ()
|
||||
void
|
||||
dmp_frags (void)
|
||||
{
|
||||
asection *s;
|
||||
frchainS *chp;
|
||||
@@ -48,9 +49,8 @@ dmp_frags ()
|
||||
}
|
||||
}
|
||||
|
||||
dmp_frag (fp, indent)
|
||||
struct frag *fp;
|
||||
char *indent;
|
||||
void
|
||||
dmp_frag (struct frag *fp, char *indent)
|
||||
{
|
||||
for (; fp; fp = fp->fr_next)
|
||||
{
|
||||
@@ -90,9 +90,8 @@ dmp_frag (fp, indent)
|
||||
}
|
||||
}
|
||||
|
||||
var_chars (fp, n)
|
||||
struct frag *fp;
|
||||
int n;
|
||||
void
|
||||
var_chars (struct frag *fp, int n)
|
||||
{
|
||||
unsigned char *p;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user