From: Peter Jones <pjones@redhat.com>
To: <linux-kernel@vger.kernel.org>
Subject: [PATCH] #ifdef __cplusplus removal (fwd)
Date: Thu, 10 Jan 2002 15:27:47 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.33.0201101527140.7586-100000@devserv.devel.redhat.com> (raw)
And again for my bad email aliases :)
--
Peter
---------- Forwarded message ----------
Date: Thu, 10 Jan 2002 15:23:09 -0500 (EST)
From: Peter Jones <pjones@redhat.com>
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 <linux/types.h> /* for size_t */
#include <linux/stddef.h> /* 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
next reply other threads:[~2002-01-10 20:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-10 20:27 Peter Jones [this message]
2002-01-10 20:41 ` Dave Jones
2002-01-10 20:42 ` Peter Jones
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=Pine.LNX.4.33.0201101527140.7586-100000@devserv.devel.redhat.com \
--to=pjones@redhat.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®