summaryrefslogtreecommitdiff
path: root/lib/libalpm/handle.c
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2013-01-03 18:48:52 -0300
committerAllan McRae <allan@archlinux.org>2013-01-04 21:49:37 +1000
commitb5709b8171c5be82ebb3651680ae3698b7513f43 (patch)
tree51993e70ae95ccecf0c74c5e82d45c4915421efa /lib/libalpm/handle.c
parente13a3bf5990d03cca25c86efbfbaf2540d645413 (diff)
downloadpacman-b5709b8171c5be82ebb3651680ae3698b7513f43.tar.xz
Fix open braces style
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/handle.c')
-rw-r--r--lib/libalpm/handle.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c
index 75aaf9db..1a840ab8 100644
--- a/lib/libalpm/handle.c
+++ b/lib/libalpm/handle.c
@@ -314,7 +314,8 @@ int SYMEXPORT alpm_option_set_progresscb(alpm_handle_t *handle, alpm_cb_progress
return 0;
}
-static char *canonicalize_path(const char *path) {
+static char *canonicalize_path(const char *path)
+{
char *new_path;
size_t len;
@@ -331,7 +332,7 @@ static char *canonicalize_path(const char *path) {
alpm_errno_t _alpm_set_directory_option(const char *value,
char **storage, int must_exist)
- {
+{
struct stat st;
char real[PATH_MAX];
const char *path;