Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _BCD_H |
2 | #define _BCD_H | ||||
3 | |||||
David Brownell | d3de851 | 2008-07-23 21:30:37 -0700 | [diff] [blame] | 4 | #include <linux/compiler.h> |
5 | |||||
6 | unsigned bcd2bin(unsigned char val) __attribute_const__; | ||||
7 | unsigned char bin2bcd(unsigned val) __attribute_const__; | ||||
8 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | #endif /* _BCD_H */ |