Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[mms-engine] Took out artifacts of the old logging system
  • Loading branch information
monich committed Mar 7, 2016
1 parent 0ea7555 commit 6a8d50d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions mms-lib/src/mms_error.h
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2013-2014 Jolla Ltd.
* Copyright (C) 2013-2016 Jolla Ltd.
* Contact: Slava Monich <slava.monich@jolla.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
Expand All @@ -15,10 +16,6 @@
#ifndef JOLLA_MMS_ERROR_H
#define JOLLA_MMS_ERROR_H

#ifndef JOLLA_MMS_LOG_H
# error mms_log.h must be included before mms_error.h
#endif

#include "mms_lib_util.h"

void
Expand All @@ -37,7 +34,7 @@ mms_error_valist(
const char* format,
va_list va);

#ifdef MMS_LOG_VARARGS
#ifdef __GNUC__
# define MMS_ERROR(error,code,format,args...) \
mms_error(MMS_LOG_MODULE_CURRENT, error, code, format, ##args)
#else
Expand All @@ -48,7 +45,7 @@ static inline void mms_error_static(GError** error, MMSLibError code, \
mms_error_valist(MMS_LOG_MODULE_CURRENT, error, code, format, va); \
va_end(va); \
}
#endif /* MMS_LOG_VARARGS */
#endif /* __GNUC__ */

#endif /* JOLLA_MMS_ERROR_H */

Expand Down

0 comments on commit 6a8d50d

Please sign in to comment.