aboutsummaryrefslogtreecommitdiff
path: root/scripts/unifdef.c
AgeCommit message (Collapse)Author
2009-03-07kbuild: fix C libary confusion in unifdef.c due to getline()Justin P. Mattock
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>
2006-09-25kbuild: replace use of strlcpy with a dedicated implmentation in unifdefSam Ravnborg
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2006-09-25kbuild: add unifdefSam Ravnborg
This patch contains a raw copy of unifdef.c Next patch will modify it and add infrastructure to use it Adding unifdef to the kernel is acked by the author. The reason to add unifdef as part of the kernel source is that it is not yet a common utility on most distributions. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>