~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/strstr.c

  • Committer: Monty Taylor
  • Date: 2008-10-16 06:32:30 UTC
  • mto: (511.1.5 codestyle)
  • mto: This revision was merged to the branch mainline in revision 521.
  • Revision ID: monty@inaugust.com-20081016063230-4brxsra0qsmsg84q
Added -Wunused-macros.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    strstr(src, pat) looks for an instance of pat in src.  pat is not a
24
24
    regex(3) pattern, it is a literal string which must be matched exactly.
25
25
    The result is a pointer to the first character of the located instance,
26
 
    or NullS if pat does not occur in src.
 
26
    or NULL if pat does not occur in src.
27
27
 
28
28
*/
29
29
 
30
 
#include <my_global.h>
31
30
#include "m_string.h"
32
31
 
33
32
#ifndef HAVE_STRSTR