[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: gaf.git: branch: master updated (1.5.2-20090328-15-g2016463)



The branch, master has been updated
       via  20164638241324a3ff92197cea9d8c2ae3dea0c3 (commit)
      from  1cd106ae2c1cb9162d88ab0af69a48e2fe62d8eb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 libgeda/include/libgeda/prototype.h |    2 --
 libgeda/src/o_attrib.c              |    4 ++--
 2 files changed, 2 insertions(+), 4 deletions(-)


=================
 Commit Messages
=================

commit 20164638241324a3ff92197cea9d8c2ae3dea0c3
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    libgeda: Make o_attrib_search_{pinseq,slotdef}() static
    
    These functions are only used in o_attrib.c

:100644 100644 c132e94... 23a30e0... M	libgeda/include/libgeda/prototype.h
:100644 100644 4e4ea11... c94d10f... M	libgeda/src/o_attrib.c

=========
 Changes
=========

commit 20164638241324a3ff92197cea9d8c2ae3dea0c3
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    libgeda: Make o_attrib_search_{pinseq,slotdef}() static
    
    These functions are only used in o_attrib.c

diff --git a/libgeda/include/libgeda/prototype.h b/libgeda/include/libgeda/prototype.h
index c132e94..23a30e0 100644
--- a/libgeda/include/libgeda/prototype.h
+++ b/libgeda/include/libgeda/prototype.h
@@ -113,8 +113,6 @@ char *o_attrib_search_name_single_count(OBJECT *object, char *name, int counter)
 char *o_attrib_search_slot(OBJECT *object, OBJECT **return_found);
 char *o_attrib_search_numslots(OBJECT *object);
 char *o_attrib_search_default_slot(OBJECT *object);
-OBJECT *o_attrib_search_pinseq(GList *list, int pin_number);
-char *o_attrib_search_slotdef(OBJECT *object, int slotnumber);
 char *o_attrib_search_component(OBJECT *object, char *name);
 void o_attrib_slot_update(TOPLEVEL *toplevel, OBJECT *object);
 void o_attrib_slot_copy(TOPLEVEL *toplevel, OBJECT *original, OBJECT *target);
diff --git a/libgeda/src/o_attrib.c b/libgeda/src/o_attrib.c
index 4e4ea11..c94d10f 100644
--- a/libgeda/src/o_attrib.c
+++ b/libgeda/src/o_attrib.c
@@ -1152,7 +1152,7 @@ char *o_attrib_search_default_slot(OBJECT *object)
  *  \param [in] pin_number  pin number to search for.
  *  \return OBJECT containing pinseq data, NULL otherwise.
  */
-OBJECT *o_attrib_search_pinseq (GList *list, int pin_number)
+static OBJECT *o_attrib_search_pinseq (GList *list, int pin_number)
 {
   OBJECT *pinseq_text_object;
   char *search_for;
@@ -1179,7 +1179,7 @@ OBJECT *o_attrib_search_pinseq (GList *list, int pin_number)
  *  \warning
  *  Caller must g_free returned character string.
  */
-char *o_attrib_search_slotdef(OBJECT *object, int slotnumber)
+static char *o_attrib_search_slotdef(OBJECT *object, int slotnumber)
 {
   char *return_value=NULL;
   char *search_for=NULL;




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs