summaryrefslogtreecommitdiffstats
path: root/src/pacman/pacman.c
diff options
context:
space:
mode:
authorMicah Saint Germain <micah@lexme.org>2014-12-14 21:01:22 -0500
committerAllan McRae <allan@archlinux.org>2014-12-18 16:32:55 +1000
commita4b23417f9868e14fddf0e6f35e57ba05f029623 (patch)
treefdcd6884abfc77b06294be391f48d8a2d42d3992 /src/pacman/pacman.c
parentc54af84180d76c1d5c9febdae930dfe5379d7db5 (diff)
downloadpacman-a4b23417f9868e14fddf0e6f35e57ba05f029623.tar.xz
Fix pointer declarations to be globally consistent
Refactored inconsistent pointer declarations to better improve consistency throughout the pacman codebase which will, in turn, increase readability to the user. Expected format of a pointer declaration: `typename *varname` Signed-off-by: Micah Saint Germain <micah@lexme.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/pacman.c')
-rw-r--r--src/pacman/pacman.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 61610484..f43105ab 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -97,11 +97,11 @@ static void usage(int op, const char * const myname)
alpm_list_t *list = NULL, *i;
/* prefetch some strings for usage below, which moves a lot of calls
* out of gettext. */
- char const * const str_opt = _("options");
- char const * const str_file = _("file(s)");
- char const * const str_pkg = _("package(s)");
- char const * const str_usg = _("usage");
- char const * const str_opr = _("operation");
+ char const *const str_opt = _("options");
+ char const *const str_file = _("file(s)");
+ char const *const str_pkg = _("package(s)");
+ char const *const str_usg = _("usage");
+ char const *const str_opr = _("operation");
/* please limit your strings to 80 characters in width */
if(op == PM_OP_MAIN) {