From 9e5817c3875621a1fd677dc9c91688c11e7e951d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 10 Jun 2016 14:09:03 +0100 Subject: [PATCH] Fixed line endings --- src/osgPlugins/3ds/lib3ds/lib3ds_io.c | 30 +++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/osgPlugins/3ds/lib3ds/lib3ds_io.c b/src/osgPlugins/3ds/lib3ds/lib3ds_io.c index c8372ccc6..28cca114b 100644 --- a/src/osgPlugins/3ds/lib3ds/lib3ds_io.c +++ b/src/osgPlugins/3ds/lib3ds/lib3ds_io.c @@ -1,19 +1,19 @@ /* Copyright (C) 1996-2008 by Jan Eric Kyprianidis All rights reserved. - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as published - by the Free Software Foundation, either version 2.1 of the License, or + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation, either version 2.1 of the License, or (at your option) any later version. - Thisprogram is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + Thisprogram is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - + You should have received a copy of the GNU Lesser General Public License - along with this program; If not, see . + along with this program; If not, see . */ #include "lib3ds_impl.h" @@ -88,7 +88,7 @@ lib3ds_io_write(Lib3dsIo *io, const void *buffer, size_t size) { } -static void +static void lib3ds_io_log_str(Lib3dsIo *io, Lib3dsLogLevel level, const char *str) { if (!io || !io->log_func) return; @@ -96,7 +96,7 @@ lib3ds_io_log_str(Lib3dsIo *io, Lib3dsLogLevel level, const char *str) { } -void +void lib3ds_io_log(Lib3dsIo *io, Lib3dsLogLevel level, const char *format, ...) { va_list args; /* FIXME */ char str[1024]; @@ -106,7 +106,7 @@ lib3ds_io_log(Lib3dsIo *io, Lib3dsLogLevel level, const char *format, ...) { return; va_start(args, format); - /* FIXME: */ vsprintf(str, format, args); + /* FIXME: */ vsprintf(str, format, args); lib3ds_io_log_str(io, level, str); if (level == LIB3DS_LOG_ERROR) { @@ -115,7 +115,7 @@ lib3ds_io_log(Lib3dsIo *io, Lib3dsLogLevel level, const char *format, ...) { } -void +void lib3ds_io_log_indent(Lib3dsIo *io, int indent) { assert(io); if (!io) @@ -124,13 +124,13 @@ lib3ds_io_log_indent(Lib3dsIo *io, int indent) { } -void +void lib3ds_io_read_error(Lib3dsIo *io) { lib3ds_io_log(io, LIB3DS_LOG_ERROR, "Reading from input stream failed."); } -void +void lib3ds_io_write_error(Lib3dsIo *io) { lib3ds_io_log(io, LIB3DS_LOG_ERROR, "Writing to output stream failed."); }