]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
kbuild: fix C libary confusion in unifdef.c due to getline()
authorJustin P. Mattock <justinmattock@gmail.com>
Sat, 7 Mar 2009 12:31:29 +0000 (13:31 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 2 Jul 2009 23:32:13 +0000 (16:32 -0700)
commite14c0aba2cb65b75a34dc0355e1ec9d90c0b3e35
tree784e39b72a8f34501f3b0ba4b08811d04d161b0c
parent339d06aaa1aff1ac0d73987ec4f90836aac62d76
kbuild: fix C libary confusion in unifdef.c due to getline()

commit d15bd1067b1fcb2b7250d22bc0c7c7fea0b759f7 upstream.

This fixes an error when compiling the kernel.

  CHK     include/linux/version.h
  HOSTCC  scripts/unifdef
scripts/unifdef.c:209: error: conflicting types for 'getline'
/usr/include/stdio.h:651: note: previous declaration of 'getline' was here
make[1]: *** [scripts/unifdef] Error 1
make: *** [__headers] Error 2

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Gilles Espinasse <g.esp@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
scripts/unifdef.c