From ea5e13a057fdebdcc293c9da0b6544187ed0596f Mon Sep 17 00:00:00 2001 From: Ulf Date: Mon, 15 Oct 2012 08:48:33 -0700 Subject: Importing files for neard 0.7 --- src/genbuiltin | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 src/genbuiltin (limited to 'src/genbuiltin') diff --git a/src/genbuiltin b/src/genbuiltin new file mode 100755 index 0000000..9c2ba15 --- /dev/null +++ b/src/genbuiltin @@ -0,0 +1,17 @@ +#!/bin/sh + +for i in $* +do + echo "extern struct near_plugin_desc __near_builtin_$i;" +done + +echo +echo "static struct near_plugin_desc *__near_builtin[] = {" + +for i in $* +do + echo " &__near_builtin_$i," +done + +echo " NULL" +echo "};" -- cgit v1.2.3