ASF Bugzilla – Attachment 23650 Details for
Bug 47191
Missing sentinel warning
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Adding stddef.h to header files using sentinel attribute.
sentinel.patch (text/plain), 1.91 KB, created by
Rainer Jung
on 2009-05-13 03:39:42 UTC
(
hide
)
Description:
Adding stddef.h to header files using sentinel attribute.
Filename:
MIME Type:
Creator:
Rainer Jung
Created:
2009-05-13 03:39:42 UTC
Size:
1.91 KB
patch
obsolete
>Index: strings/apr_strings.c >=================================================================== >--- strings/apr_strings.c (revision 774225) >+++ strings/apr_strings.c (working copy) >@@ -55,10 +55,6 @@ > #define APR_WANT_STRFUNC > #include "apr_want.h" > >-#ifdef HAVE_STDDEF_H >-#include <stddef.h> /* NULL */ >-#endif >- > #ifdef HAVE_STDLIB_H > #include <stdlib.h> /* strtol and strtoll */ > #endif >Index: include/apr.h.in >=================================================================== >--- include/apr.h.in (revision 774225) >+++ include/apr.h.in (working copy) >@@ -87,6 +87,7 @@ > #define APR_HAVE_SEMAPHORE_H @semaphoreh@ > #define APR_HAVE_SIGNAL_H @signalh@ > #define APR_HAVE_STDARG_H @stdargh@ >+#define APR_HAVE_STDDEF_H @stddefh@ > #define APR_HAVE_STDINT_H @stdint@ > #define APR_HAVE_STDIO_H @stdioh@ > #define APR_HAVE_STDLIB_H @stdlibh@ >Index: include/apr_strings.h >=================================================================== >--- include/apr_strings.h (revision 774225) >+++ include/apr_strings.h (working copy) >@@ -51,6 +51,10 @@ > #define APR_WANT_IOVEC > #include "apr_want.h" > >+#if APR_HAVE_STDDEF_H >+#include <stddef.h> /* NULL */ >+#endif >+ > #if APR_HAVE_STDARG_H > #include <stdarg.h> > #endif >Index: include/apr_tables.h >=================================================================== >--- include/apr_tables.h (revision 774225) >+++ include/apr_tables.h (working copy) >@@ -25,6 +25,10 @@ > #include "apr.h" > #include "apr_pools.h" > >+#if APR_HAVE_STDDEF_H >+#include <stddef.h> /* NULL */ >+#endif >+ > #if APR_HAVE_STDARG_H > #include <stdarg.h> /* for va_list */ > #endif >Index: configure.in >=================================================================== >--- configure.in (revision 774225) >+++ configure.in (working copy) >@@ -1223,6 +1223,7 @@ > AC_SUBST(netinet_sctp_uioh) > AC_SUBST(netinet_tcph) > AC_SUBST(stdargh) >+AC_SUBST(stddefh) > AC_SUBST(stdioh) > AC_SUBST(stdlibh) > AC_SUBST(stringh)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47191
: 23650 |
23661
|
23662