summaryrefslogtreecommitdiff
path: root/libgphoto2
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2012-08-01 14:38:08 +0000
committerMarcus Meissner <marcus@jet.franken.de>2012-08-01 14:38:08 +0000
commitb6de622204fb41454506c990af48e2dd00c5ba29 (patch)
treeb728160387275ea8ad99a57054e998bf3a8d4312 /libgphoto2
parent0a7da52048b6e4b002cee84395802ceecb0d8cbe (diff)
downloadlibgphoto2-b6de622204fb41454506c990af48e2dd00c5ba29.tar.gz
moved doc comment
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14078 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2')
-rw-r--r--libgphoto2/gphoto2-list.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libgphoto2/gphoto2-list.c b/libgphoto2/gphoto2-list.c
index 9bf1c103a..e55a3ad50 100644
--- a/libgphoto2/gphoto2-list.c
+++ b/libgphoto2/gphoto2-list.c
@@ -225,13 +225,6 @@ gp_list_append (CameraList *list, const char *name, const char *value)
return (GP_OK);
}
-/**
- * Sorts the \c list entries with respect to the names.
- *
- * \param list a #CameraList
- * \return a gphoto2 error code
- *
- **/
static int
cmp_list (const void *a, const void *b) {
const struct _entry *ca = a;
@@ -240,6 +233,13 @@ cmp_list (const void *a, const void *b) {
return strcmp (ca->name, cb->name);
}
+/**
+ * Sorts the \c list entries with respect to the names.
+ *
+ * \param list a #CameraList
+ * \return a gphoto2 error code
+ *
+ **/
int
gp_list_sort (CameraList *list)
{