summaryrefslogtreecommitdiff
path: root/librazor
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-06-23 17:31:32 -0400
committerKristian Høgsberg <krh@redhat.com>2008-06-23 17:31:32 -0400
commit3a4df91a3c128e626ff1b83b5fd08c4f749dbd83 (patch)
treeb82f8542b9b82d738bd7408ca288f4f18a4bd54f /librazor
parent3c711911fba4ac0eea9fc74e0d9a181fb1e3c14b (diff)
Nuke ARRAY_SIZE and obsolete razor_set_list_unsatisfied from razor.h.
Diffstat (limited to 'librazor')
-rw-r--r--librazor/razor-internal.h4
-rw-r--r--librazor/razor.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/librazor/razor-internal.h b/librazor/razor-internal.h
index f3e93ae..25e8b67 100644
--- a/librazor/razor-internal.h
+++ b/librazor/razor-internal.h
@@ -11,6 +11,8 @@
#define RAZOR_EXPORT
#endif
+#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
+#define ALIGN(value, base) (((value) + (base - 1)) & ~((base) - 1))
void *zalloc(size_t size);
@@ -172,8 +174,6 @@ struct razor_property_iterator {
struct list *index;
};
-#define ALIGN(value, base) (((value) + (base - 1)) & ~((base) - 1))
-
struct razor_entry *
razor_set_find_entry(struct razor_set *set,
struct razor_entry *dir, const char *pattern);
diff --git a/librazor/razor.h b/librazor/razor.h
index 4216bc6..4fc3fc7 100644
--- a/librazor/razor.h
+++ b/librazor/razor.h
@@ -20,8 +20,6 @@
#ifndef _RAZOR_H_
#define _RAZOR_H_
-#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
-
enum razor_repo_file_type {
RAZOR_REPO_FILE_MAIN,
RAZOR_REPO_FILE_DETAILS,
@@ -159,8 +157,6 @@ razor_property_iterator_destroy(struct razor_property_iterator *pi);
void razor_set_list_files(struct razor_set *set, const char *prefix);
void razor_set_list_package_files(struct razor_set *set, const char *name);
-void razor_set_list_unsatisfied(struct razor_set *set);
-
enum razor_diff_action {
RAZOR_DIFF_ACTION_ADD,
RAZOR_DIFF_ACTION_REMOVE,