Blame view

include/linux/bcd.h 195 Bytes
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
  #ifndef _BCD_H
  #define _BCD_H
d3de851a4   David Brownell   rtc: BCD codeshrink
3
4
5
6
  #include <linux/compiler.h>
  
  unsigned bcd2bin(unsigned char val) __attribute_const__;
  unsigned char bin2bcd(unsigned val) __attribute_const__;
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
7
  #endif /* _BCD_H */