221V 1 год назад
Родитель
Сommit
a5cd18ad2e

+ 1 - 1
src/kvs.erl

@@ -1,6 +1,6 @@
 -module(kvs).
 -copyright('Synrc Research Center s.r.o.').
--compile(export_all).
+-compile([export_all, nowarn_export_all]).
 %-include_lib("stdlib/include/qlc.hrl").
 -include("config.hrl").
 -include("metainfo.hrl").

+ 1 - 1
src/kvs_acl.erl

@@ -1,6 +1,6 @@
 -module(kvs_acl).
 -copyright('Synrc Research Center s.r.o.').
--compile(export_all).
+-compile([export_all, nowarn_export_all]).
 -include("kvs.hrl").
 -include("metainfo.hrl").
 -include("acl.hrl").

+ 1 - 1
src/kvs_feed.erl

@@ -1,6 +1,6 @@
 -module(kvs_feed).
 -copyright('Synrc Research Center, s.r.o.').
--compile(export_all).
+-compile([export_all, nowarn_export_all]).
 -include("kvs.hrl").
 -include("config.hrl").
 -include("entry.hrl").

+ 1 - 1
src/kvs_subscription.erl

@@ -2,7 +2,7 @@
 -copyright('Synrc Research Center s.r.o.').
 -include("subscription.hrl").
 -include("metainfo.hrl").
--compile(export_all).
+-compile([export_all, nowarn_export_all]).
 
 metainfo() ->
     #schema{name=kvs,tables=[

+ 1 - 1
src/kvs_user.erl

@@ -3,7 +3,7 @@
 -include("user.hrl").
 -include("group.hrl").
 -include("metainfo.hrl").
--compile(export_all).
+-compile([export_all, nowarn_export_all]).
 
 metainfo() ->
     #schema{name=kvs,tables=[

+ 1 - 1
src/store/store_fs.erl

@@ -3,7 +3,7 @@
 -include("config.hrl").
 -include("metainfo.hrl").
 -include_lib("stdlib/include/qlc.hrl").
--compile(export_all).
+-compile([export_all, nowarn_export_all]).
 
 start()    -> ok.
 stop()     -> ok.

+ 1 - 1
src/store/store_kai.erl

@@ -4,7 +4,7 @@
 -include("config.hrl").
 -include("metainfo.hrl").
 -include_lib("stdlib/include/qlc.hrl").
--compile(export_all).
+-compile([export_all, nowarn_export_all]).
 -record(data, { key, bucket, last_modified, vector_clocks, checksum, flags, value }).
 
 start() -> kai:start(), ok.

+ 1 - 1
src/store/store_mnesia.erl

@@ -4,7 +4,7 @@
 -include("kvs.hrl").
 -include("metainfo.hrl").
 -include_lib("stdlib/include/qlc.hrl").
--compile(export_all).
+-compile([export_all, nowarn_export_all]).
 
 start()    -> mnesia:start().
 stop()     -> mnesia:stop().

+ 1 - 1
src/store/store_mongo.erl

@@ -3,7 +3,7 @@
 -author("Oleg Zinchenko").
 -copyright('Synrc Research Center s.r.o.').
 -include("metainfo.hrl").
--compile(export_all).
+-compile([export_all, nowarn_export_all]).
 -define(POOL_NAME,mongo_pool).
 
 start() -> ok.

+ 1 - 1
src/store/store_redis.erl

@@ -4,7 +4,7 @@
 -include("config.hrl").
 -include("kvs.hrl").
 -include("metainfo.hrl").
--compile(export_all).
+-compile([export_all, nowarn_export_all]).
 
 start() -> erase(eredis_pid), {ok,C}=eredis:start_link(), erlang:put(eredis_pid,C), ok.
 stop() -> P=erase(eredis_pid), eredis:stop(P), ok.

+ 1 - 1
src/store/store_riak.erl

@@ -9,7 +9,7 @@
 -include("entry.hrl").
 -include("feed.hrl").
 -include("acl.hrl").
--compile(export_all).
+-compile([export_all, nowarn_export_all]).
 
 start() -> ok.
 stop() -> ok.

+ 1 - 1
src/store/store_sql.erl

@@ -1,7 +1,7 @@
 -module(store_sql).
 -author('Daniil Churikov').
 -author('Max Davidenko').
--compile(export_all).
+-compile([export_all, nowarn_export_all]).
 -include_lib("kvs/include/sql.hrl").
 -include_lib("kvs/include/metainfo.hrl").
 

+ 1 - 1
test/kvs_SUITE.erl

@@ -2,7 +2,7 @@
 
 -include_lib("common_test/include/ct.hrl").
 -include_lib("kvs/include/entry.hrl").
--compile(export_all).
+-compile([export_all, nowarn_export_all]).
 
 suite() -> [{timetrap,{seconds,30}}].
 all() -> [{group, feed},{group,acl}].