You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/02/12 07:23:17 UTC

[07/15] snappy commit: updated refs/heads/import-master to 64cd135

Module local functions shouldn't be inside the extern "C" block


git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1099048 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/couchdb-snappy/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-snappy/commit/183247c0
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-snappy/tree/183247c0
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-snappy/diff/183247c0

Branch: refs/heads/import-master
Commit: 183247c031b32ec747636ed5717ff1cbddb6ed60
Parents: 7a8e80c
Author: Filipe David Borba Manana <fd...@apache.org>
Authored: Tue May 3 13:21:25 2011 +0000
Committer: Filipe David Borba Manana <fd...@apache.org>
Committed: Tue May 3 13:21:25 2011 +0000

----------------------------------------------------------------------
 snappy_nif.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-snappy/blob/183247c0/snappy_nif.cc
----------------------------------------------------------------------
diff --git a/snappy_nif.cc b/snappy_nif.cc
index ba9e909..ae28d91 100644
--- a/snappy_nif.cc
+++ b/snappy_nif.cc
@@ -104,9 +104,6 @@ SnappyNifSink::getBin()
 }
 
 
-BEGIN_C
-
-
 static inline ERL_NIF_TERM
 make_atom(ErlNifEnv* env, const char* name)
 {
@@ -134,6 +131,9 @@ make_error(ErlNifEnv* env, const char* mesg)
 }
 
 
+BEGIN_C
+
+
 ERL_NIF_TERM
 snappy_compress(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])
 {