Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/hook.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/hook.h')
-rw-r--r--lib/libalpm/hook.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libalpm/hook.h b/lib/libalpm/hook.h
index 4894a192..3f05b31d 100644
--- a/lib/libalpm/hook.h
+++ b/lib/libalpm/hook.h
@@ -22,12 +22,7 @@
#include "alpm.h"
-enum _alpm_hook_when_t {
- ALPM_HOOK_PRE_TRANSACTION = 1,
- ALPM_HOOK_POST_TRANSACTION
-};
-
-int _alpm_hook_run(alpm_handle_t *handle, enum _alpm_hook_when_t when);
+int _alpm_hook_run(alpm_handle_t *handle, alpm_hook_when_t when);
#endif /* _ALPM_HOOK_H */