remove obsolete getopt definitions (fix #489)

This commit is contained in:
Yves Rutschle 2025-05-29 15:46:08 +02:00
parent ad66e79f46
commit 6b9ec3a46e
2 changed files with 0 additions and 7 deletions

View File

@ -26,7 +26,6 @@
#include <pwd.h>
#include <syslog.h>
#include <libgen.h>
#include <getopt.h>
#include <errno.h>
#define cfg sslhcfg
@ -323,9 +322,6 @@ int start_listen_sockets(struct listen_endpoint *sockfd[])
int main(int argc, char *argv[])
{
extern char *optarg;
extern int optind;
int num_addr_listen;
struct listen_endpoint *listen_sockets;

View File

@ -280,9 +280,6 @@ void close_std(void)
int main(int argc, char *argv[], char* envp[])
{
extern char *optarg;
extern int optind;
int res, num_addr_listen;
struct listen_endpoint *listen_sockets;