diff --git a/src/nvdialog_main.c b/src/nvdialog_main.c index 7e659f1..6b133c7 100644 --- a/src/nvdialog_main.c +++ b/src/nvdialog_main.c @@ -113,7 +113,7 @@ static int nvd_check_libnotify(void) { return 0; } -int nvd_init(char *program) { +int nvd_init() { if (nvd_initialized) { nvd_set_error(NVD_ALREADY_INITIALIZED); return -NVD_ALREADY_INITIALIZED; diff --git a/src/nvdialog_util.h b/src/nvdialog_util.h index 8b434f6..7a44935 100644 --- a/src/nvdialog_util.h +++ b/src/nvdialog_util.h @@ -97,7 +97,7 @@ char** nvd_seperate_args(const char* str); /** * @brief Returns the distribution information on Linux, lik - * @note This function will return NULL if the OS is not GNU/Linux. It will also only return data related + * @note This function will return `NULL` if the OS is not GNU/Linux. It will also only return data related * to the base of the distribution, NOT the exact distribution you're running (eg. on Ubuntu you will get Debian). * @return A @ref NvdDistroInfo filled out with all the necessary information, * or NULL if there is a failure (Will set the error accordingly unless not on GNU/Linux).