[PATCH] C++ breaks on linux/ioport.h

From: Stepan Kasal (kasal@suse.de)
Date: Thu Apr 27 2000 - 08:25:50 EST


This include didn't work under C++...
Stepan Kasal <kasal@suse.cz>

--- linux/include/linux/ioport.h.steve Tue Feb 29 23:28:46 2000
+++ linux/include/linux/ioport.h Thu Apr 27 11:11:00 2000
@@ -79,9 +79,9 @@
 extern int get_resource_list(struct resource *, char *buf, int size);
 
 extern int check_resource(struct resource *root, unsigned long, unsigned long);
-extern int request_resource(struct resource *root, struct resource *new);
-extern int release_resource(struct resource *new);
-extern int allocate_resource(struct resource *root, struct resource *new,
+extern int request_resource(struct resource *root, struct resource *new_res);
+extern int release_resource(struct resource *new_res);
+extern int allocate_resource(struct resource *root, struct resource *new_res,
                              unsigned long size,
                              unsigned long min, unsigned long max,
                              unsigned long align,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:12 EST