From: Masaki Muranaka <monaka@monami-software.com>
To: gdb-patches@sourceware.org
Subject: [tcl] Undefined NULL in tcl/compat/strstr.c
Date: Wed, 23 Apr 2008 18:10:00 -0000 [thread overview]
Message-ID: <EE8EE936-F2AD-41D0-9C29-5DB98D3AE80C@monami-software.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 224 bytes --]
Hello,
This is obvious. Could anyone commit my patch?
2008-04-24 Masaki Muranaka <monaka@monami-software.com>
* compat/strstr.c : Add include stddef.h to get NULL define.
--
Masaki Muranaka
Monami Software
[-- Attachment #2: strstr.diff --]
[-- Type: application/octet-stream, Size: 457 bytes --]
Index: strstr.c
===================================================================
RCS file: /cvs/src/src/tcl/compat/strstr.c,v
retrieving revision 1.5
diff -u -p -r1.5 strstr.c
--- strstr.c 21 Jan 2003 19:39:57 -0000 1.5
+++ strstr.c 23 Apr 2008 17:38:34 -0000
@@ -12,6 +12,8 @@
* RCS: @(#) $Id: strstr.c,v 1.3 2002/01/26 01:10:08 dgp Exp $
*/
+#include <stddef.h>
+
/*
*----------------------------------------------------------------------
*
[-- Attachment #3: Type: text/plain, Size: 2 bytes --]
next reply other threads:[~2008-04-23 17:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-23 18:10 Masaki Muranaka [this message]
2008-04-23 21:15 ` Daniel Jacobowitz
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=EE8EE936-F2AD-41D0-9C29-5DB98D3AE80C@monami-software.com \
--to=monaka@monami-software.com \
--cc=gdb-patches@sourceware.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