Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 10 Jan 2002 15:28:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 10 Jan 2002 15:28:00 -0500 Received: from nat-pool-meridian.redhat.com ([199.183.24.200]:58974 "EHLO devserv.devel.redhat.com") by vger.kernel.org with ESMTP id ; Thu, 10 Jan 2002 15:27:48 -0500 Date: Thu, 10 Jan 2002 15:27:47 -0500 (EST) From: Peter Jones X-X-Sender: To: Subject: [PATCH] #ifdef __cplusplus removal (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org And again for my bad email aliases :) -- Peter ---------- Forwarded message ---------- Date: Thu, 10 Jan 2002 15:23:09 -0500 (EST) From: Peter Jones To: marcelo@conectiva.com.br, linux-kernel@vger.rutgers.edu Subject: [PATCH] #ifdef __cplusplus removal Marcello, This patch removes the "#ifdef __cplusplus" from within a "#ifdef __KERNEL__" in linux/string.h. It really isn't needed AFACIT. It was put in for 1.1.0, which was before __KERNEL__ appeared. Alan told me to send it to you. --- linux/include/linux/string.h.orig Thu Jan 10 01:14:48 2002 +++ linux/include/linux/string.h Thu Jan 10 01:14:50 2002 @@ -8,10 +8,6 @@ #include /* for size_t */ #include /* for NULL */ -#ifdef __cplusplus -extern "C" { -#endif - extern char * ___strtok; extern char * strpbrk(const char *,const char *); extern char * strtok(char *,const char *); @@ -78,10 +74,6 @@ #endif #ifndef __HAVE_ARCH_MEMCHR extern void * memchr(const void *,int,__kernel_size_t); -#endif - -#ifdef __cplusplus -} #endif #endif -- Peter - 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/