public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* mtd-utils: fec.c uses bcopy()
@ 2008-10-08  0:27 Mitch Davis
  2008-10-08  1:02 ` Mike Frysinger
  0 siblings, 1 reply; 10+ messages in thread
From: Mitch Davis @ 2008-10-08  0:27 UTC (permalink / raw)
  To: linux-mtd

Hello,

I use buildroot to build my embedded Linux.  My run-time library is
uClibc, which doesn't provide bcopy().

fec.c in mtd-utils uses bcopy(), so mtd-utils doesn't compile for me.
I'd like to fix this.

 - Should I rewrite fec.c so it uses memcpy instead?
 - Should I just add #define NEED_BCOPY to fec.c?
 - Should I leave fec.c unchanged and add -DNEED_BCOPY to the Makefile
(which would be passed to every compile?)

  http://git.infradead.org/mtd-utils.git?a=blob_plain;f=fec.c

Which solution would you guys accept?

Thanks,

Mitch.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-10-08 12:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-08  0:27 mtd-utils: fec.c uses bcopy() Mitch Davis
2008-10-08  1:02 ` Mike Frysinger
2008-10-08  2:36   ` Mitch Davis
2008-10-08  2:38     ` Mike Frysinger
2008-10-08  4:56       ` Mitch Davis
2008-10-08  5:07         ` Mike Frysinger
2008-10-08  6:06           ` Mitch Davis
2008-10-08  6:08             ` Artem Bityutskiy
2008-10-08  6:23             ` Mike Frysinger
2008-10-08 12:43             ` Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox