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

[Minios-devel] [UNIKRAFT/LIBDUKTAPE PATCH 3/3] Add patches directory



Patch to rename main loop's function

Signed-off-by: Felipe Huici <felipe.huici@xxxxxxxxx>
---
 patches/0001-rename-main-function.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 patches/0001-rename-main-function.patch

diff --git a/patches/0001-rename-main-function.patch 
b/patches/0001-rename-main-function.patch
new file mode 100644
index 0000000..8c4a8cc
--- /dev/null
+++ b/patches/0001-rename-main-function.patch
@@ -0,0 +1,11 @@
+--- a/examples/cmdline/duk_cmdline.c   2019-09-09 08:23:15.891284704 +0200
++++ b/examples/cmdline/duk_cmdline.c   2019-09-09 08:22:57.783472251 +0200
+@@ -1260,7 +1260,7 @@
+  *  Main
+  */
+ 
+-int main(int argc, char *argv[]) {
++int duktape_main(int argc, char *argv[]) {
+       duk_context *ctx = NULL;
+       int retval = 0;
+       int have_files = 0;
-- 
2.11.0


_______________________________________________
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®.