Use common code for atomic_add().

This commit is contained in:
counterpoint
2015-05-12 16:50:37 +01:00
parent fec1e66a5c
commit 492918c72c
3 changed files with 4 additions and 19 deletions

View File

@ -31,6 +31,7 @@
#include <skygw_types.h>
#include <skygw_utils.h>
#include <log_manager.h>
#include "atomic.h"
#define MAX_PREFIXLEN 250
#define MAX_SUFFIXLEN 250
@ -301,6 +302,8 @@ static int find_last_seqno(strpart_t* parts, int seqno, int seqnoidx);
void flushall_logfiles(bool flush);
bool thr_flushall_check();
#include "../core/atomic.c"
const char* get_suffix_default(void)
{
return ".log";