[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: branch: master updated (1.1.2.20070818-51-g7018461)
The branch, master has been updated
via 7018461cf5f5f011f3b59a711c4817752099a534 (commit)
from 5a1c7855c84f3d9b6a439e529b6c147f943e3b95 (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/prototype.h | 1 -
libgeda/src/o_attrib.c | 32 --------------------------------
2 files changed, 0 insertions(+), 33 deletions(-)
=================
Commit Messages
=================
commit 7018461cf5f5f011f3b59a711c4817752099a534
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Sat Sep 8 15:49:02 2007 +0100
Remove unused function o_attrib_search_special().
:100644 100644 2baaacb... e98bac5... M libgeda/include/prototype.h
:100644 100644 29eda2f... d0c6c55... M libgeda/src/o_attrib.c
=========
Changes
=========
commit 7018461cf5f5f011f3b59a711c4817752099a534
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Sat Sep 8 15:49:02 2007 +0100
Remove unused function o_attrib_search_special().
diff --git a/libgeda/include/prototype.h b/libgeda/include/prototype.h
index 2baaacb..e98bac5 100644
--- a/libgeda/include/prototype.h
+++ b/libgeda/include/prototype.h
@@ -178,7 +178,6 @@ OBJECT *o_attrib_search_string_single(OBJECT *object, char *search_for);
OBJECT *o_attrib_search_attrib_value(ATTRIB *list, char *value, char *name, int counter);
char *o_attrib_search_attrib_name(ATTRIB *list, char *name, int counter);
char *o_attrib_search_toplevel(OBJECT *list, char *name, int counter);
-char *o_attrib_search_special(OBJECT *o_current);
char *o_attrib_search_name_single(OBJECT *object, char *name, OBJECT **return_found);
char *o_attrib_search_name_single_count(OBJECT *object, char *name, int counter);
char *o_attrib_search_slot(OBJECT *object, OBJECT **return_found);
diff --git a/libgeda/src/o_attrib.c b/libgeda/src/o_attrib.c
index 29eda2f..d0c6c55 100644
--- a/libgeda/src/o_attrib.c
+++ b/libgeda/src/o_attrib.c
@@ -1368,38 +1368,6 @@ char *o_attrib_search_toplevel(OBJECT *list, char *name, int counter)
return (NULL);
}
-/*! \brief Search for special attributes.
- * \par Function Description
- * This function will search an OBJECT list for the special
- * attributes <EM>"gnd"</EM> and <EM>"vdd"</EM>.
- *
- * \param [in] o_current The OBJECT list to search.
- * \return Character string with attribute value, NULL otherwise.
- *
- * \warning
- * Caller must g_free returned character string.
- */
-/* be sure caller free's return value */
-char *o_attrib_search_special(OBJECT *o_current)
-{
- char *return_value;
-
- return_value = o_attrib_search_name(o_current->complex->prim_objs,
- "gnd", 0);
-
- if (return_value) {
- return(return_value);
- }
-
- return_value = o_attrib_search_name(o_current->complex->prim_objs,
- "vdd", 0);
-
- if (return_value) {
- return(return_value);
- }
-
- return(NULL);
-}
/*! \brief Search for first occurance of a named attribute.
* \par Function Description
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs