From ad567fbf416baac0ce7fc95d24305c11efd1bf2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Tue, 29 Jan 2013 01:40:14 +0100 Subject: [PATCH] erlang headers should be hrl --- src/geef_odb.erl | 2 +- src/geef_oid.erl | 2 +- src/{geef_records.hlr => geef_records.hrl} | 0 src/geef_ref.erl | 2 +- src/geef_repo.erl | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename src/{geef_records.hlr => geef_records.hrl} (100%) diff --git a/src/geef_odb.erl b/src/geef_odb.erl index fa6d8dd..210ee54 100644 --- a/src/geef_odb.erl +++ b/src/geef_odb.erl @@ -1,7 +1,7 @@ -module(geef_odb). -export([exists/2]). --include("geef_records.hlr"). +-include("geef_records.hrl"). -spec exists(odb(), string()) -> boolean(). exists(#odb{handle=Handle}, Sha) -> diff --git a/src/geef_oid.erl b/src/geef_oid.erl index e5f976d..6c50d23 100644 --- a/src/geef_oid.erl +++ b/src/geef_oid.erl @@ -1,6 +1,6 @@ -module(geef_oid). --include("geef_records.hlr"). +-include("geef_records.hrl"). -export([parse/1, fmt/1]). -spec fmt(oid()) -> binary(). diff --git a/src/geef_records.hlr b/src/geef_records.hrl similarity index 100% rename from src/geef_records.hlr rename to src/geef_records.hrl diff --git a/src/geef_ref.erl b/src/geef_ref.erl index 4d5645b..fd555db 100644 --- a/src/geef_ref.erl +++ b/src/geef_ref.erl @@ -2,7 +2,7 @@ -export([lookup/2, resolve/1, target/1]). --include("geef_records.hlr"). +-include("geef_records.hrl"). -spec new(term()) -> ref(). new(Handle) -> diff --git a/src/geef_repo.erl b/src/geef_repo.erl index 9dda368..810e120 100644 --- a/src/geef_repo.erl +++ b/src/geef_repo.erl @@ -2,7 +2,7 @@ -export([open/1, init/2, path/1, workdir/1, is_bare/1, references/1]). --include("geef_records.hlr"). +-include("geef_records.hrl"). -spec path(repo()) -> binary(). path(#repo{handle=Handle}) ->