From: "Sérgio Monteiro Basto" <sergiomb-hHo3WeeoaswVhHzd4jOs4w@public.gmane.org>
To: acpi-devel
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: compile warning fix patch 2.4.26pre1
Date: Sun, 29 Feb 2004 02:37:41 +0000 [thread overview]
Message-ID: <1078022260.25125.11.camel@darkstar> (raw)
[-- Attachment #1: Type: text/plain, Size: 925 bytes --]
Hi
compiling 2.4.26-pre1 appears this:
system.c: In function `acpi_power_off':
system.c:98: warning: implicit declaration of function `acpi_system_save_state'
system.c: At top level:
system.c:178: warning: type mismatch with previous implicit declaration
system.c:98: warning: previous implicit declaration of `acpi_system_save_state'
system.c:178: warning: `acpi_system_save_state' was previously implicitly declared to return `int'
system.c: In function `acpi_power_off':
system.c:98: warning: implicit declaration of function `acpi_system_save_state'
system.c: At top level:
system.c:178: warning: type mismatch with previous implicit declaration
system.c:98: warning: previous implicit declaration of `acpi_system_save_state'
system.c:178: warning: `acpi_system_save_state' was previously implicitly declared to return `int'
this could be resolved with this trivial patch
Thanks
--
Sérgio M. B.
[-- Attachment #2: compilewarningfix.diff --]
[-- Type: text/x-patch, Size: 428 bytes --]
--- linux-2.4.25.new/drivers/acpi/system.orig 2004-02-29 02:21:44.000000000 +0000
+++ linux-2.4.25.new/drivers/acpi/system.c 2004-02-29 02:22:12.000000000 +0000
@@ -61,6 +61,7 @@
static int acpi_system_remove (struct acpi_device *device, int type);
acpi_status acpi_suspend (u32 state);
+acpi_status acpi_system_save_state (u32 state);
static struct acpi_driver acpi_system_driver = {
.name = ACPI_SYSTEM_DRIVER_NAME,
reply other threads:[~2004-02-29 2:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1078022260.25125.11.camel@darkstar \
--to=sergiomb-hho3weeoaswvhhzd4jos4w@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox