[coreboot] [PATCH 3/5] libpayload: Implement ffs()

2011-02-25 Thread Patrick Georgi
Signed-off-by: Patrick Georgi patrick.geo...@secunet.com --- payloads/libpayload/include/strings.h | 35 payloads/libpayload/libc/Makefile.inc |2 +- payloads/libpayload/libc/strings.c| 40 + 3 files changed, 76

Re: [coreboot] [PATCH 3/5] libpayload: Implement ffs()

2011-02-25 Thread Stefan Reinauer
* Patrick Georgi patrick.geo...@secunet.com [110225 13:11]: Signed-off-by: Patrick Georgi patrick.geo...@secunet.com --- payloads/libpayload/include/strings.h | 35 payloads/libpayload/libc/Makefile.inc |2 +- payloads/libpayload/libc/strings.c| 40

Re: [coreboot] [PATCH 3/5] libpayload: Implement ffs()

2011-02-25 Thread Peter Stuge
Patrick Georgi wrote: +int ffs(int i); Wording in my ffs(3) page suggests that int can be 64 bit. We don't care? //Peter -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] [PATCH 3/5] libpayload: Implement ffs()

2011-02-25 Thread Stefan Reinauer
* Peter Stuge pe...@stuge.se [110225 21:48]: Patrick Georgi wrote: +int ffs(int i); Wording in my ffs(3) page suggests that int can be 64 bit. We don't care? So far the only compiler I know where this could happen is MSVC. Since we have an endless amount of GNUisms in all of our code that