mac_pton: Use bool not int return
[deliverable/linux.git] / include / linux / kernel.h
index 4c52907a6d8b54d41fbd63cc1839f159c0ed5207..a9e2268ecccb0c0f96a02add9b7f122421f223b6 100644 (file)
@@ -501,7 +501,7 @@ static inline char * __deprecated pack_hex_byte(char *buf, u8 byte)
 extern int hex_to_bin(char ch);
 extern int __must_check hex2bin(u8 *dst, const char *src, size_t count);
 
-int mac_pton(const char *s, u8 *mac);
+bool mac_pton(const char *s, u8 *mac);
 
 /*
  * General tracing related utility functions - trace_printk(),
This page took 0.026787 seconds and 5 git commands to generate.