summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm_list.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-10-15 00:29:32 +0200
committerDan McGee <dan@archlinux.org>2007-10-15 00:29:32 +0200
commit0adedc536fe372b4def5954f3b24ca63ff86aecf (patch)
treec3632a7559a0f59e8c782a517aa9c9c2bf72192f /lib/libalpm/alpm_list.h
parent5adb8d4b5ac6928ba1a0736d96ca6c533d8cbc76 (diff)
downloadpacman-0adedc536fe372b4def5954f3b24ca63ff86aecf.tar.gz
pacman-0adedc536fe372b4def5954f3b24ca63ff86aecf.tar.xz
Updates to fix Doxygen documentation generation
We had way too much going on with the Doxygen manpage generation. Clean it up quite a bit by removing directory manpages, using relative paths, not having a manpage for every single alpm function, and ensuring internal functions are not documented publicly. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm_list.h')
-rw-r--r--lib/libalpm/alpm_list.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libalpm/alpm_list.h b/lib/libalpm/alpm_list.h
index 10d01df2..a2a06f4c 100644
--- a/lib/libalpm/alpm_list.h
+++ b/lib/libalpm/alpm_list.h
@@ -25,8 +25,6 @@
extern "C" {
#endif
-#include "alpm.h"
-
/**
* @brief Linked list type used by libalpm.
*
@@ -34,14 +32,14 @@ extern "C" {
* lists of their own; however, it is not required that the front end uses
* it.
*/
-struct __alpm_list_t {
+typedef struct __alpm_list_t {
/** data held by the list node */
void *data;
/** pointer to the previous node */
struct __alpm_list_t *prev;
/** pointer to the next node */
struct __alpm_list_t *next;
-};
+} alpm_list_t;
#define FREELIST(p) do { alpm_list_free_inner(p, free); alpm_list_free(p); p = NULL; } while(0)