[PATCH] 2.3.3 compile problem

Andreas Schwab (schwab@issan.cs.uni-dortmund.de)
19 May 1999 10:49:55 +0200


<linux/blkpg.h> has a bogus definition of a variable "p", which causes a
linker error when compiling with -fno-common (which is very much
recommended).

--- linux/include/linux/blkpg.h.~1~ Wed May 19 10:39:58 1999
+++ linux/include/linux/blkpg.h Wed May 19 10:48:39 1999
@@ -34,7 +34,7 @@
int flags;
int datalen;
void *data;
-} *p;
+};

/* The subfunctions (for the op field) */
#define BLKPG_ADD_PARTITION 1

-- 
Andreas Schwab                                      "And now for something
schwab@issan.cs.uni-dortmund.de                      completely different"
schwab@gnu.org

- 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/