aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/unifdef.c
Commit message (Collapse)AuthorAge
* kbuild: fix C libary confusion in unifdef.c due to getline()Justin P. Mattock2009-03-07
| | | | | | | | | | | | | | | | 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>
* kbuild: replace use of strlcpy with a dedicated implmentation in unifdefSam Ravnborg2006-09-25
| | | | Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
* kbuild: add unifdefSam Ravnborg2006-09-25
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>