jeyzu pushed a commit to branch master.

commit 4e88ad4dd6631ba40f4511900690e87dde43bc57
Author: Jérémy Zurcher <[email protected]>
Date:   Sun May 5 18:19:14 2013 +0200

    eo ptr in: follow naming convention for static fcts
---
 src/lib/eo/eo_ptr_indirection.c | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/src/lib/eo/eo_ptr_indirection.c b/src/lib/eo/eo_ptr_indirection.c
index 9ee90b5..74a3926 100644
--- a/src/lib/eo/eo_ptr_indirection.c
+++ b/src/lib/eo/eo_ptr_indirection.c
@@ -246,7 +246,7 @@ _eo_obj_pointer_get(const Eo_Id obj_id)
 }
 
 static inline _Eo_Id_Entry *
-get_available_entry(_Eo_Ids_Table *table)
+_get_available_entry(_Eo_Ids_Table *table)
 {
    _Eo_Id_Entry *entry = NULL;
 
@@ -270,7 +270,7 @@ get_available_entry(_Eo_Ids_Table *table)
 }
 
 static inline _Eo_Id_Entry *
-search_tables()
+_search_tables()
 {
    _Eo_Ids_Table *table;
    _Eo_Id_Entry *entry;
@@ -297,9 +297,7 @@ search_tables()
                   entry = &(table->entries[0]);
                }
              else
-               {
-                  entry = get_available_entry(table);
-               }
+               entry = _get_available_entry(table);
 
              if (entry)
                {
@@ -324,11 +322,11 @@ _eo_id_allocate(const _Eo *obj)
    _Eo_Id_Entry *entry = NULL;
 
    if (current_table.table)
-     entry = get_available_entry(current_table.table);
+     entry = _get_available_entry(current_table.table);
 
    if (!entry)
      {
-        entry = search_tables();
+        entry = _search_tables();
         if (!entry)
           return 0;
      }

-- 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2

Reply via email to