]> err.no Git - linux-2.6/commit
[PATCH] x86-64: add memcpy/memset prototypes
authorrandy_dunlap <rdunlap@xenotime.net>
Sat, 25 Jun 2005 21:58:39 +0000 (14:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:57 +0000 (16:24 -0700)
commit09dbb4768c962ac00f9ff416328a7e6bfbd92b21
tree69591625d4c7d7a996d8dd076984e484119a3633
parent23b34f46fb762796e5c9c37e50d5a6cb56fd71fe
[PATCH] x86-64: add memcpy/memset prototypes

Put function prototypes for memset() and memcpy() ahead of where
there are used, to kill sparse warnings:

arch/x86_64/boot/compressed/../../../../lib/inflate.c:317:3: warning: undefined identifier 'memset'
arch/x86_64/boot/compressed/../../../../lib/inflate.c:601:11: warning: undefined identifier 'memcpy'
arch/x86_64/boot/compressed/misc.c:151:2: warning: undefined identifier 'memcpy'
arch/x86_64/boot/compressed/../../../../lib/inflate.c:317:3: warning: call with no type!
arch/x86_64/boot/compressed/../../../../lib/inflate.c:601:17: warning: call with no type!
arch/x86_64/boot/compressed/misc.c:151:9: warning: call with no type!

Signed-off-by: randy_dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/boot/compressed/misc.c