patch-2.1.36 linux/fs/binfmt_script.c
Next file: linux/fs/buffer.c
Previous file: linux/fs/binfmt_java.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Apr 17 13:20:47 1997
- Orig file:
v2.1.35/linux/fs/binfmt_script.c
- Orig date:
Tue Jan 28 00:02:45 1997
diff -u --recursive --new-file v2.1.35/linux/fs/binfmt_script.c linux/fs/binfmt_script.c
@@ -10,6 +10,7 @@
#include <linux/stat.h>
#include <linux/malloc.h>
#include <linux/binfmts.h>
+#include <linux/init.h>
static int do_load_script(struct linux_binprm *bprm,struct pt_regs *regs)
{
@@ -103,7 +104,8 @@
#endif
};
-int init_script_binfmt(void) {
+__initfunc(int init_script_binfmt(void))
+{
return register_binfmt(&script_format);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov