Skip to content

Commit

Permalink
Merge pull request #125 from DimitriPapadopoulos/main_function
Browse files Browse the repository at this point in the history
ISO C compliance of main()
  • Loading branch information
alandekok authored Jul 31, 2024
2 parents 5a7c776 + 7c7a02d commit 79d92af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -13985,7 +13985,7 @@ else
#include <sys/utsname.h>
int main(int argc, char **argv)
int main(int argc, char *argv[])
{
struct utsname uts;
uts.domainname[0] = '\0';
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ then
AC_TRY_RUN([
#include <sys/utsname.h>

int main(int argc, char **argv)
int main(int argc, char*argv[])
{
struct utsname uts;
uts.domainname[0] = '\0';
Expand Down
2 changes: 1 addition & 1 deletion src/radiusclient.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ usage(void)
}

int
main(int argc, char **argv)
main(int argc, char *argv[])
{
int i, nas_port, ch, acct, server, ecount, firstline, theend;
void *rh;
Expand Down

0 comments on commit 79d92af

Please sign in to comment.