Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
Fix inconsistent declarations of function parameters in public headers
Browse files Browse the repository at this point in the history
  • Loading branch information
nikias committed Jun 9, 2020
1 parent 2ae528a commit 6cd994d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/libimobiledevice/afc.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ afc_error_t afc_read_directory(afc_client_t client, const char *path, char ***di
*
* @return AFC_E_SUCCESS on success or an AFC_E_* error value.
*/
afc_error_t afc_get_file_info(afc_client_t client, const char *filename, char ***file_information);
afc_error_t afc_get_file_info(afc_client_t client, const char *path, char ***file_information);

/**
* Opens a file on the device.
Expand Down
8 changes: 4 additions & 4 deletions include/libimobiledevice/lockdown.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ lockdownd_error_t lockdownd_remove_value(lockdownd_client_t client, const char *
*
* @param client The lockdownd client
* @param identifier The identifier of the service to start
* @param descriptor The service descriptor on success or NULL on failure
* @param service The service descriptor on success or NULL on failure
*
* @return LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG if a parameter
* is NULL, LOCKDOWN_E_INVALID_SERVICE if the requested service is not known
Expand All @@ -217,7 +217,7 @@ lockdownd_error_t lockdownd_start_service(lockdownd_client_t client, const char
*
* @param client The lockdownd client
* @param identifier The identifier of the service to start
* @param descriptor The service descriptor on success or NULL on failure
* @param service The service descriptor on success or NULL on failure
*
* @return LOCKDOWN_E_SUCCESS on success, LOCKDOWN_E_INVALID_ARG if a parameter
* is NULL, LOCKDOWN_E_INVALID_SERVICE if the requested service is not known
Expand Down Expand Up @@ -418,7 +418,7 @@ void lockdownd_client_set_label(lockdownd_client_t client, const char *label);
*
* @return LOCKDOWN_E_SUCCESS on success
*/
lockdownd_error_t lockdownd_get_device_udid(lockdownd_client_t control, char **udid);
lockdownd_error_t lockdownd_get_device_udid(lockdownd_client_t client, char **udid);

/**
* Retrieves the name of the device from lockdownd set by the user.
Expand Down Expand Up @@ -458,7 +458,7 @@ lockdownd_error_t lockdownd_data_classes_free(char **classes);
/**
* Frees memory of a service descriptor as returned by lockdownd_start_service()
*
* @param sevice A service descriptor instance to free.
* @param service A service descriptor instance to free.
*
* @return LOCKDOWN_E_SUCCESS on success
*/
Expand Down

0 comments on commit 6cd994d

Please sign in to comment.