summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-06-03 14:15:31 +1000
committerAllan McRae <allan@archlinux.org>2013-06-06 13:47:32 +1000
commit37e85c0031147901b646574cf48b753a018e00c6 (patch)
tree6e375cf3d1f59d05a685d465c7d88e155638b1cc
parentab3d8478c23dd3f256da89c2a2a27f8a7f3d3893 (diff)
downloadpacman-37e85c0031147901b646574cf48b753a018e00c6.tar.xz
Document alpm_list files are to be stand alone
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--lib/libalpm/alpm_list.c4
-rw-r--r--lib/libalpm/alpm_list.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/libalpm/alpm_list.c b/lib/libalpm/alpm_list.c
index bcd42b87..59f99f9b 100644
--- a/lib/libalpm/alpm_list.c
+++ b/lib/libalpm/alpm_list.c
@@ -21,6 +21,10 @@
#include <stdlib.h>
#include <string.h>
+/* Note: alpm_list.{c,h} are intended to be standalone files. Do not include
+ * any other libalpm headers.
+ */
+
/* libalpm */
#include "alpm_list.h"
diff --git a/lib/libalpm/alpm_list.h b/lib/libalpm/alpm_list.h
index 72c73785..3f3566b7 100644
--- a/lib/libalpm/alpm_list.h
+++ b/lib/libalpm/alpm_list.h
@@ -22,6 +22,10 @@
#include <stdlib.h> /* size_t */
+/* Note: alpm_list.{c,h} are intended to be standalone files. Do not include
+ * any other libalpm headers.
+ */
+
#ifdef __cplusplus
extern "C" {
#endif