~ubuntu-branches/ubuntu/raring/findutils/raring

« back to all changes in this revision

Viewing changes to gnulib/lib/strstr.c

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2005-07-04 11:37:37 UTC
  • mto: (11.1.1 lenny) (1.1.10 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20050704113737-oxfumqxsqgfz5gay
Tags: upstream-4.2.22
ImportĀ upstreamĀ versionĀ 4.2.22

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 1994, 1999, 2002 Free Software Foundation, Inc.
 
1
/* Copyright (C) 1994, 1999, 2002-2003 Free Software Foundation, Inc.
2
2
This file is part of the GNU C Library.
3
3
 
4
4
This program is free software; you can redistribute it and/or modify
13
13
 
14
14
You should have received a copy of the GNU General Public License
15
15
along with this program; if not, write to the Free Software
16
 
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
16
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
17
17
 
18
18
/*
19
19
 * My personal strstr() implementation that beats most other algorithms.
28
28
# include <config.h>
29
29
#endif
30
30
 
31
 
#if defined _LIBC || defined HAVE_STRING_H
32
 
# include <string.h>
33
 
#endif
 
31
#include <string.h>
34
32
 
35
33
typedef unsigned chartype;
36
34