summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2016-04-29 22:32:13 +0100
committerAllan McRae <allan@archlinux.org>2016-05-05 13:52:23 +1000
commit2694d17ad99bab1cea5aad0ea4781ea4d51e596b (patch)
tree9c664db457a26d239167a22459418bf17f9238ab /lib
parent0088a7ab1cc2676a31debc05878a80d0bd9a6ba4 (diff)
downloadpacman-2694d17ad99bab1cea5aad0ea4781ea4d51e596b.tar.xz
fix spelling mistakes
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/alpm.h2
-rw-r--r--lib/libalpm/be_package.c2
-rw-r--r--lib/libalpm/deps.c2
-rw-r--r--lib/libalpm/package.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index aa57d512..9b8166f9 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -464,7 +464,7 @@ typedef enum _alpm_event_type_t {
ALPM_EVENT_HOOK_DONE,
/** A hook is starting */
ALPM_EVENT_HOOK_RUN_START,
- /** A hook has finnished runnning */
+ /** A hook has finished running */
ALPM_EVENT_HOOK_RUN_DONE
} alpm_event_type_t;
diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c
index 247715eb..c9ed7708 100644
--- a/lib/libalpm/be_package.c
+++ b/lib/libalpm/be_package.c
@@ -356,7 +356,7 @@ int _alpm_pkg_validate_internal(alpm_handle_t *handle,
}
/**
- * Handle the existance of simple paths for _alpm_load_pkg_internal()
+ * Handle the existence of simple paths for _alpm_load_pkg_internal()
* @param pkg package to change
* @param path path to examine
* @return 0 if path doesn't match any rule, 1 if it has been handled
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c
index 1fe7cd91..c35a2752 100644
--- a/lib/libalpm/deps.c
+++ b/lib/libalpm/deps.c
@@ -432,7 +432,7 @@ int _alpm_depcmp_literal(alpm_pkg_t *pkg, alpm_depend_t *dep)
}
/**
- * @param dep dependency to check agains the provision list
+ * @param dep dependency to check against the provision list
* @param provisions provision list
* @return 1 if provider is found, 0 otherwise
*/
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h
index 9fea3563..31add9ac 100644
--- a/lib/libalpm/package.h
+++ b/lib/libalpm/package.h
@@ -37,7 +37,7 @@
/** Package operations struct. This struct contains function pointers to
* all methods used to access data in a package to allow for things such
- * as lazy package intialization (such as used by the file backend). Each
+ * as lazy package initialization (such as used by the file backend). Each
* backend is free to define a stuct containing pointers to a specific
* implementation of these methods. Some backends may find using the
* defined default_pkg_ops struct to work just fine for their needs.