Renamed guaclog.h, added newline to macro

This commit is contained in:
Michael Jumper 2011-02-09 01:39:27 -08:00
parent e37507d312
commit 60897fc7f8
3 changed files with 6 additions and 6 deletions

View File

@ -4,7 +4,7 @@ ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS = -Werror -Wall -Iinclude AM_CFLAGS = -Werror -Wall -Iinclude
libguacincdir = $(includedir)/guacamole libguacincdir = $(includedir)/guacamole
libguacinc_HEADERS = include/client.h include/guacio.h include/protocol.h libguacinc_HEADERS = include/client.h include/guacio.h include/protocol.h include/log.h
lib_LTLIBRARIES = libguac.la lib_LTLIBRARIES = libguac.la

View File

@ -17,8 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef _GUACLOG_H #ifndef _LOG_H
#define _GUACLOG_H #define _LOG_H
#ifdef HAVE_SYSLOG_H #ifdef HAVE_SYSLOG_H
@ -30,8 +30,8 @@
#else #else
/* Logging for W32 */ /* Logging for W32 */
#define GUAC_LOG_ERROR(...) fprintf(stderr, __VA_ARGS__) #define GUAC_LOG_ERROR(...) fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\n")
#define GUAC_LOG_INFO(...) fprintf(stderr, __VA_ARGS__) #define GUAC_LOG_INFO(...) fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\n")
#endif #endif

View File

@ -22,7 +22,7 @@
#include <string.h> #include <string.h>
#include <dlfcn.h> #include <dlfcn.h>
#include "guaclog.h" #include "log.h"
#include "guacio.h" #include "guacio.h"
#include "protocol.h" #include "protocol.h"
#include "client.h" #include "client.h"