[lkml]   [2007]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 6/6] Hibernation: Move extern definition to header file

> From: Rafael J. Wysocki <>
> Move the extern definition of resume_file[] from kernel/power/swap.c
> to kernel/power/power.h .
> Signed-off-by: Rafael J. Wysocki <>

can we just get rid of extern? It does not seem to be used. (at least
in very quick grep over 2.6.24-rc3):

pavel@amd:/data/l/linux/kernel/power$ grep resume_file *.c
disk.c:char resume_file[256] = CONFIG_PM_STD_PARTITION;
disk.c: if (!strlen(resume_file)) {
disk.c: swsusp_resume_device = name_to_dev_t(resume_file);
disk.c: pr_debug("swsusp: Resume From Partition %s\n",
disk.c: strncpy( resume_file, str, 255 );
swap.c:extern char resume_file[];

(cesky, pictures)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-11-27 01:25    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean