[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT/SQLITE V3 PATCH 3/5] Add optional main()



Hi Gaulthier,

This patch should also introduce the config option and the Makefile.uk
changes.

Cheers,
Costin

On 12/4/19 7:52 PM, Gaulthier Gain wrote:
> We provide a glue main function which runs the SQLite shell by
> default.
> 
> Signed-off-by: Gaulthier Gain <gaulthier.gain@xxxxxxxxx>
> ---
>  main.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>  create mode 100644 main.c
> 
> diff --git a/main.c b/main.c
> new file mode 100644
> index 0000000..74822a0
> --- /dev/null
> +++ b/main.c
> @@ -0,0 +1,6 @@
> +extern int sqlite_main(int argc, char *argv[]);
> +
> +int main(int argc, char *argv[])
> +{
> +    return sqlite_main(argc, argv);
> +}
> 

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.