Fix compilation warnings and prepare to be a dependency.

This commit is contained in:
2023-04-28 17:49:27 +06:00
parent 9e9aa23af7
commit 10301b40c8
8 changed files with 19 additions and 13 deletions

View File

@@ -2,7 +2,7 @@
%%% NIF functions, not to be used directly.
-module(geef_nif).
-compile(export_all).
-compile([export_all,nowarn_export_all]).
-include("geef_records.hrl").
@@ -85,7 +85,7 @@ reflog_read(_Handle, _Name) ->
reflog_delete(_Handle, _Name) ->
?NIF_FN.
odb_object_exists(_Val, _Val) ->
odb_object_exists(_Val1, _Val2) ->
nif_error(?LINE).
-spec odb_write(term(), iolist(), atom()) -> term().