Skip to content

Commit

Permalink
nvd_init: Remove argv parameter
Browse files Browse the repository at this point in the history
This is going to break lots of programs but better late than never, right? Also happy 900 commits people!
  • Loading branch information
tseli0s committed Jan 17, 2024
1 parent 79b0586 commit 2be1a65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nvdialog_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/nvdialog_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 2be1a65

Please sign in to comment.