acpi_button misses some static's

From: Pavel Machek (pavel@ucw.cz)
Date: Thu Jan 09 2003 - 16:52:52 EST


Hi!

This adds them, please apply.
                                                                Pavel
--- clean/drivers/acpi/button.c 2002-12-25 23:59:15.000000000 +0100
+++ linux-swsusp/drivers/acpi/button.c 2003-01-06 00:11:23.000000000 +0100
@@ -68,8 +68,8 @@
 MODULE_LICENSE("GPL");
 
 
-int acpi_button_add (struct acpi_device *device);
-int acpi_button_remove (struct acpi_device *device, int type);
+static int acpi_button_add (struct acpi_device *device);
+static int acpi_button_remove (struct acpi_device *device, int type);
 static int acpi_button_open_fs(struct inode *inode, struct file *file);
 
 static struct acpi_driver acpi_button_driver = {
@@ -236,7 +236,7 @@
 }
 
 
-int
+static int
 acpi_button_add (
         struct acpi_device *device)
 {
@@ -386,7 +386,7 @@
 }
 
 
-int
+static int
 acpi_button_remove (struct acpi_device *device, int type)
 {
         acpi_status status = 0;

-- 
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:30 EST