Fix a handful of comment typos or misspellings

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2012-02-06 22:12:11 -06:00
parent 5945241469
commit ea32924c62
3 changed files with 10 additions and 8 deletions

View File

@ -313,7 +313,7 @@ typedef enum _alpm_event_t {
ALPM_EVENT_LOAD_START, ALPM_EVENT_LOAD_START,
/** Target package is finished loading. */ /** Target package is finished loading. */
ALPM_EVENT_LOAD_DONE, ALPM_EVENT_LOAD_DONE,
/** Target deltas's integrity will be checked. */ /** Target delta's integrity will be checked. */
ALPM_EVENT_DELTA_INTEGRITY_START, ALPM_EVENT_DELTA_INTEGRITY_START,
/** Target delta's integrity was checked. */ /** Target delta's integrity was checked. */
ALPM_EVENT_DELTA_INTEGRITY_DONE, ALPM_EVENT_DELTA_INTEGRITY_DONE,
@ -881,7 +881,7 @@ alpm_list_t *alpm_pkg_get_backup(alpm_pkg_t *pkg);
*/ */
alpm_db_t *alpm_pkg_get_db(alpm_pkg_t *pkg); alpm_db_t *alpm_pkg_get_db(alpm_pkg_t *pkg);
/** Retuns the base64 encoded package signature. /** Returns the base64 encoded package signature.
* @param pkg a pointer to package * @param pkg a pointer to package
* @return a reference to an internal string * @return a reference to an internal string
*/ */
@ -1032,7 +1032,7 @@ int alpm_trans_prepare(alpm_handle_t *handle, alpm_list_t **data);
/** Commit a transaction. /** Commit a transaction.
* @param handle the context handle * @param handle the context handle
* @param data the address of an alpm_list where detailed description * @param data the address of an alpm_list where detailed description
* of an error can be dumped (ie. list of conflicting files) * of an error can be dumped (i.e. list of conflicting files)
* @return 0 on success, -1 on error (pm_errno is set accordingly) * @return 0 on success, -1 on error (pm_errno is set accordingly)
*/ */
int alpm_trans_commit(alpm_handle_t *handle, alpm_list_t **data); int alpm_trans_commit(alpm_handle_t *handle, alpm_list_t **data);

View File

@ -726,7 +726,9 @@ static int parseargs(int argc, char *argv[])
return 0; return 0;
} }
/** print commandline to logfile /** Print command line to logfile.
* @param argc
* @param argv
*/ */
static void cl_to_log(int argc, char* argv[]) static void cl_to_log(int argc, char* argv[])
{ {
@ -754,8 +756,8 @@ static void cl_to_log(int argc, char* argv[])
} }
/** Main function. /** Main function.
* @param argc argc * @param argc
* @param argv argv * @param argv
* @return A return code indicating success, failure, etc. * @return A return code indicating success, failure, etc.
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])

View File

@ -1005,7 +1005,7 @@ static double simple_pow(int base, int exp)
* @param target_unit '\0' or a short label. If equal to one of the short unit * @param target_unit '\0' or a short label. If equal to one of the short unit
* labels ('B', 'K', ...) bytes is converted to target_unit; if '\0', the first * labels ('B', 'K', ...) bytes is converted to target_unit; if '\0', the first
* unit which will bring the value to below a threshold of 2048 will be chosen. * unit which will bring the value to below a threshold of 2048 will be chosen.
* @param precision number of decimal places, ensures -0.0.0 gets rounded to * @param precision number of decimal places, ensures -0.00 gets rounded to
* 0.00; -1 if no rounding desired * 0.00; -1 if no rounding desired
* @param label will be set to the appropriate unit label * @param label will be set to the appropriate unit label
* *