X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fum%2Fdrivers%2Fslirp_kern.c;fp=arch%2Fum%2Fdrivers%2Fslirp_kern.c;h=33d7982be5d3aebe901b993020eb1edfb2142c6d;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=95e50c943e14f52c7770be2788d5f598cab64adf;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/arch/um/drivers/slirp_kern.c b/arch/um/drivers/slirp_kern.c index 95e50c943..33d7982be 100644 --- a/arch/um/drivers/slirp_kern.c +++ b/arch/um/drivers/slirp_kern.c @@ -77,7 +77,7 @@ static int slirp_setup(char *str, char **mac_out, void *data) int i=0; *init = ((struct slirp_init) - { .argw = { { "slirp", NULL } } }); + { argw : { { "slirp", NULL } } }); str = split_if_spec(str, mac_out, NULL); @@ -116,7 +116,18 @@ static struct transport slirp_transport = { static int register_slirp(void) { register_transport(&slirp_transport); - return 0; + return(1); } __initcall(register_slirp); + +/* + * Overrides for Emacs so that we follow Linus's tabbing style. + * Emacs will notice this stuff at the end of the file and automatically + * adjust the settings for this buffer only. This must remain at the end + * of the file. + * --------------------------------------------------------------------------- + * Local variables: + * c-file-style: "linux" + * End: + */