From ac7cb3750dcb44b08a7e57a6b678224050c390f2 Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Thu, 22 Mar 2012 10:50:34 +0100 Subject: [PATCH] Fix annoying TABs and missing newlines at EOF --- src/file-test.c | 10 +++++----- src/fltk-test.cpp | 20 ++++++++++---------- src/json-c.mk | 2 +- src/libffi-test.c | 2 +- src/mpfr.mk | 4 ++-- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/file-test.c b/src/file-test.c index 6039ed42..8e0e48b6 100644 --- a/src/file-test.c +++ b/src/file-test.c @@ -6,9 +6,9 @@ int main(int argc, char *argv[]) { - (void)argc; - (void)argv; + (void)argc; + (void)argv; - fprintf(stdout, "magic file from %s\n", magic_getpath(NULL, 0)); - return 0; -} \ No newline at end of file + fprintf(stdout, "magic file from %s\n", magic_getpath(NULL, 0)); + return 0; +} diff --git a/src/fltk-test.cpp b/src/fltk-test.cpp index cf154c5b..0ade6d55 100644 --- a/src/fltk-test.cpp +++ b/src/fltk-test.cpp @@ -8,13 +8,13 @@ int main(int argc, char **argv) { - Fl_Window *window = new Fl_Window(340,180); - Fl_Box *box = new Fl_Box(20,40,300,100,"Hello, World!"); - box->box(FL_UP_BOX); - box->labelfont(FL_BOLD+FL_ITALIC); - box->labelsize(36); - box->labeltype(FL_SHADOW_LABEL); - window->end(); - window->show(argc, argv); - return Fl::run(); -} \ No newline at end of file + Fl_Window *window = new Fl_Window(340,180); + Fl_Box *box = new Fl_Box(20,40,300,100,"Hello, World!"); + box->box(FL_UP_BOX); + box->labelfont(FL_BOLD+FL_ITALIC); + box->labelsize(36); + box->labeltype(FL_SHADOW_LABEL); + window->end(); + window->show(argc, argv); + return Fl::run(); +} diff --git a/src/json-c.mk b/src/json-c.mk index 3d15827a..277cbd9a 100644 --- a/src/json-c.mk +++ b/src/json-c.mk @@ -20,6 +20,6 @@ define $(PKG)_BUILD --host='$(TARGET)' \ --prefix='$(PREFIX)/$(TARGET)' \ --build="`config.guess`"\ - CFLAGS=-Wno-error + CFLAGS=-Wno-error $(MAKE) -C '$(1)' -j '$(JOBS)' install endef diff --git a/src/libffi-test.c b/src/libffi-test.c index 1a0123ec..ccc5d2a0 100644 --- a/src/libffi-test.c +++ b/src/libffi-test.c @@ -19,7 +19,7 @@ int main(int argc, char *argv[]) values[0] = &s; if (ffi_prep_cif(&cif, FFI_DEFAULT_ABI, 1, - &ffi_type_uint, args) == FFI_OK) + &ffi_type_uint, args) == FFI_OK) { s = "Hello World!"; ffi_call(&cif, FFI_FN(puts), &rc, values); diff --git a/src/mpfr.mk b/src/mpfr.mk index 58853db9..c41405d3 100644 --- a/src/mpfr.mk +++ b/src/mpfr.mk @@ -27,8 +27,8 @@ define $(PKG)_BUILD --disable-shared \ --prefix='$(PREFIX)/$(TARGET)' \ --enable-threads=win32 \ - --with-gmp-include='$(PREFIX)/$(TARGET)/include/' - --with-gmp-lib='$(PREFIX)/$(TARGET)/lib/' + --with-gmp-include='$(PREFIX)/$(TARGET)/include/' + --with-gmp-lib='$(PREFIX)/$(TARGET)/lib/' $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j '$(JOBS)' install endef