Print this page
Cstyle cleanup
*** 1013,1026 ****
#ifndef XPG4
/*
* -u flag specified
*/
static void
! print_with_uflag(
! SYM *sym_data,
! char *filename
! )
{
if ((sym_data->shndx == SHN_UNDEF) && (strlen(sym_data->name))) {
if (!r_flag) {
if (R_flag) {
if (archive_name != (char *)0)
--- 1013,1023 ----
#ifndef XPG4
/*
* -u flag specified
*/
static void
! print_with_uflag(SYM *sym_data, char *filename)
{
if ((sym_data->shndx == SHN_UNDEF) && (strlen(sym_data->name))) {
if (!r_flag) {
if (R_flag) {
if (archive_name != (char *)0)
*** 1093,1109 ****
/*
* -p flag specified
*/
static void
! print_with_pflag(
! int ndigits,
! Elf *elf_file,
! unsigned int shstrndx,
! SYM *sym_data,
! char *filename
! )
{
const char * const fmt[] = {
"%.*llu ", /* FMT_T_DEC */
"0x%.*llx ", /* FMT_T_HEX */
"0%.*llo " /* FMT_T_OCT */
--- 1090,1101 ----
/*
* -p flag specified
*/
static void
! print_with_pflag(int ndigits, Elf *elf_file, unsigned int shstrndx,
! SYM *sym_data, char *filename)
{
const char * const fmt[] = {
"%.*llu ", /* FMT_T_DEC */
"0x%.*llx ", /* FMT_T_HEX */
"0%.*llo " /* FMT_T_OCT */
*** 1147,1162 ****
/*
* -P flag specified
*/
static void
! print_with_Pflag(
! int ndigits,
! Elf *elf_file,
! unsigned int shstrndx,
! SYM *sym_data
! )
{
#define SYM_LEN 10
char sym_name[SYM_LEN+1];
size_t len;
const char * const fmt[] = {
--- 1139,1150 ----
/*
* -P flag specified
*/
static void
! print_with_Pflag(int ndigits, Elf *elf_file, unsigned int shstrndx,
! SYM *sym_data)
{
#define SYM_LEN 10
char sym_name[SYM_LEN+1];
size_t len;
const char * const fmt[] = {
*** 1199,1215 ****
/*
* other flags specified
*/
static void
! print_with_otherflags(
! int ndigits,
! Elf *elf_file,
! unsigned int shstrndx,
! SYM *sym_data,
! char *filename
! )
{
const char * const fmt_value_size[] = {
"%*llu|%*lld|", /* FMT_T_DEC */
"0x%.*llx|0x%.*llx|", /* FMT_T_HEX */
"0%.*llo|0%.*llo|" /* FMT_T_OCT */
--- 1187,1198 ----
/*
* other flags specified
*/
static void
! print_with_otherflags(int ndigits, Elf *elf_file, unsigned int shstrndx,
! SYM *sym_data, char *filename)
{
const char * const fmt_value_size[] = {
"%*llu|%*lld|", /* FMT_T_DEC */
"0x%.*llx|0x%.*llx|", /* FMT_T_HEX */
"0%.*llo|0%.*llo|" /* FMT_T_OCT */