Brice Goglin <[email protected]> wrote:
>
> Le 07.07.2005 13:00, Andrew Morton a écrit :
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc2/2.6.13-rc2-mm1/
> >
> > (kernel.org seems to be stuck again - there's a copy at
> > http://www.zip.com.au/~akpm/linux/patches/stuff/2.6.13-rc2-mm1.gz)
>
> CC kernel/power/disk.o
> kernel/power/disk.c: Dans la fonction « software_resume »:
> kernel/power/disk.c:242: attention : implicit declaration of function
> `name_to_dev_t'
>
> The attached patch adds an extern declaration in disk.c as it's
> already done in swsusp.c
>
Well both are wrong... This should go in a header file. I guess mount.h
is close enough.
> --- linux-mm/kernel/power/disk.c.old 2005-07-07 13:28:52.000000000 +0200
> +++ linux-mm/kernel/power/disk.c 2005-07-07 13:30:02.000000000 +0200
> @@ -30,6 +30,7 @@ extern void swsusp_close(void);
> extern int swsusp_resume(void);
> extern int swsusp_free(void);
>
> +extern dev_t name_to_dev_t(const char *line);
>
> static int noresume = 0;
> char resume_file[256] = CONFIG_PM_STD_PARTITION;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|