From 52648623e03e6769ae73ef8ee999d671fb657d62 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 6 Jun 2015 19:48:25 +0200 Subject: Remove empty lines at end of file Used command line to remove empty lines at end of file: find . -type f -exec sed -i -e :a -e '/^\n*$/{$d;N;};/\n$/ba' {} \; Change-Id: I816ac9666b6dbb7c7e47843672f0d5cc499766a3 Signed-off-by: Elyes HAOUAS Reviewed-on: http://review.coreboot.org/10446 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Patrick Georgi --- payloads/libpayload/curses/pdcurses-backend/nc_alloc.h | 1 - payloads/libpayload/curses/pdcurses-backend/pdcdisp.c | 1 - payloads/libpayload/curses/pdcurses-backend/pdcutil.c | 1 - 3 files changed, 3 deletions(-) (limited to 'payloads/libpayload/curses/pdcurses-backend') diff --git a/payloads/libpayload/curses/pdcurses-backend/nc_alloc.h b/payloads/libpayload/curses/pdcurses-backend/nc_alloc.h index 95d41f9aa9..25b5161ec6 100644 --- a/payloads/libpayload/curses/pdcurses-backend/nc_alloc.h +++ b/payloads/libpayload/curses/pdcurses-backend/nc_alloc.h @@ -1,4 +1,3 @@ #define typeMalloc(type,elts) (type *)malloc((elts)*sizeof(type)) #define typeCalloc(type,elts) (type *)calloc((elts),sizeof(type)) #define typeRealloc(type,elts,ptr) (type *)_nc_doalloc(ptr, (elts)*sizeof(type)) - diff --git a/payloads/libpayload/curses/pdcurses-backend/pdcdisp.c b/payloads/libpayload/curses/pdcurses-backend/pdcdisp.c index 308370e5bf..6b13b27b3b 100644 --- a/payloads/libpayload/curses/pdcurses-backend/pdcdisp.c +++ b/payloads/libpayload/curses/pdcurses-backend/pdcdisp.c @@ -244,4 +244,3 @@ void PDC_transform_line(int lineno, int x, int len, const chtype *srcp) #endif } } - diff --git a/payloads/libpayload/curses/pdcurses-backend/pdcutil.c b/payloads/libpayload/curses/pdcurses-backend/pdcutil.c index c40e2ed1eb..70853dc169 100644 --- a/payloads/libpayload/curses/pdcurses-backend/pdcutil.c +++ b/payloads/libpayload/curses/pdcurses-backend/pdcutil.c @@ -47,4 +47,3 @@ int curses_vga_enabled(void) { return !!(curses_flags & F_ENABLE_CONSOLE); } - -- cgit v1.2.3