Changeset 4499
- Timestamp:
- 06/27/07 17:12:30 (6 years ago)
- Location:
- i2c-tools/trunk/tools
- Files:
-
- 5 modified
Legend:
- Unmodified
- Added
- Removed
-
i2c-tools/trunk/tools/Makefile
r4492 r4499 8 8 CFLAGS = -Wall -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \ 9 9 -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W \ 10 - I../include10 -Wundef -Wmissing-prototypes -I../include 11 11 12 12 CFLAGS += -O2 -
i2c-tools/trunk/tools/i2cdetect.c
r4492 r4499 34 34 #define MODE_FUNC 3 35 35 36 void help(void)36 static void help(void) 37 37 { 38 38 fprintf(stderr, … … 52 52 } 53 53 54 int scan_i2c_bus(int file, const int mode, const int first, constint last)54 static int scan_i2c_bus(int file, int mode, int first, int last) 55 55 { 56 56 int i, j; … … 156 156 }; 157 157 158 void print_functionality(unsigned long funcs)158 static void print_functionality(unsigned long funcs) 159 159 { 160 160 int i; -
i2c-tools/trunk/tools/i2cdump.c
r4488 r4499 30 30 #include "../version.h" 31 31 32 void help(void)32 static void help(void) 33 33 { 34 34 fprintf(stderr, "Syntax: i2cdump [-f] [-y] I2CBUS ADDRESS [MODE] " -
i2c-tools/trunk/tools/i2cget.c
r4487 r4499 33 33 #include "../version.h" 34 34 35 void help(void) __attribute__ ((noreturn));36 37 void help(void)35 static void help(void) __attribute__ ((noreturn)); 36 37 static void help(void) 38 38 { 39 39 fprintf(stderr, "Syntax: i2cget [-f] [-y] I2CBUS CHIP-ADDRESS " … … 51 51 } 52 52 53 int check_funcs(int file, int i2cbus, int size, int daddress, int pec)53 static int check_funcs(int file, int i2cbus, int size, int daddress, int pec) 54 54 { 55 55 unsigned long funcs; … … 103 103 } 104 104 105 int confirm(const char *filename, int address, int size, int daddress, int pec) 105 static int confirm(const char *filename, int address, int size, int daddress, 106 int pec) 106 107 { 107 108 int dont = 0; -
i2c-tools/trunk/tools/i2cset.c
r4487 r4499 30 30 #include "../version.h" 31 31 32 void help(void) __attribute__ ((noreturn));33 34 void help(void)32 static void help(void) __attribute__ ((noreturn)); 33 34 static void help(void) 35 35 { 36 36 fprintf(stderr, "Syntax: i2cset [-f] [-y] I2CBUS CHIP-ADDRESS DATA-ADDRESS "
