Show
Ignore:
Timestamp:
06/27/07 17:12:30 (7 years ago)
Author:
khali
Message:

Show more warnings, and fix them.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • i2c-tools/trunk/tools/i2cget.c

    r4487 r4499  
    3333#include "../version.h" 
    3434 
    35 void help(void) __attribute__ ((noreturn)); 
    36  
    37 void help(void) 
     35static void help(void) __attribute__ ((noreturn)); 
     36 
     37static void help(void) 
    3838{ 
    3939        fprintf(stderr, "Syntax: i2cget [-f] [-y] I2CBUS CHIP-ADDRESS " 
     
    5151} 
    5252 
    53 int check_funcs(int file, int i2cbus, int size, int daddress, int pec) 
     53static int check_funcs(int file, int i2cbus, int size, int daddress, int pec) 
    5454{ 
    5555        unsigned long funcs; 
     
    103103} 
    104104 
    105 int confirm(const char *filename, int address, int size, int daddress, int pec) 
     105static int confirm(const char *filename, int address, int size, int daddress, 
     106                   int pec) 
    106107{ 
    107108        int dont = 0;