Correct warning if used -Wextra
This commit is contained in:
parent
be2502773e
commit
7190c5fd76
@ -33,6 +33,10 @@
|
|||||||
#define ArgsGetSimpleNumbers() options_numbers_simple
|
#define ArgsGetSimpleNumbers() options_numbers_simple
|
||||||
#define ArgsGetNamesNumbers() options_numbers_names
|
#define ArgsGetNamesNumbers() options_numbers_names
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char** simple_flags;
|
char** simple_flags;
|
||||||
char** names_vals;
|
char** names_vals;
|
||||||
@ -82,10 +86,6 @@ int _lib_argparse_emulated_main(__args_parse_t* arg_list_named)
|
|||||||
/* Data type instead of argc and argv in the main function */
|
/* Data type instead of argc and argv in the main function */
|
||||||
#define args_t int __argc__, char** __argv__) __arglist(
|
#define args_t int __argc__, char** __argv__) __arglist(
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
size_t __conf_flags_size(char** conf, size_t size) {
|
size_t __conf_flags_size(char** conf, size_t size) {
|
||||||
unsigned int d = 0;
|
unsigned int d = 0;
|
||||||
size_t s = 0;
|
size_t s = 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user