ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/libltdl/libltdl/lt__strl.h
(Generate patch)

Comparing ircd-hybrid/trunk/libltdl/libltdl/lt__strl.h (file contents):
Revision 4805 by michael, Sat Oct 27 21:02:32 2012 UTC vs.
Revision 4806 by michael, Thu Oct 30 19:33:19 2014 UTC

# Line 1 | Line 1
1   /* lt__strl.h -- size-bounded string copying and concatenation
2  
3 <   Copyright (C) 2004, 2006 Free Software Foundation, Inc.
3 >   Copyright (C) 2004, 2006, 2011-2014 Free Software Foundation, Inc.
4     Written by Bob Friesenhahn, 2004
5  
6     NOTE: The canonical source of this file is maintained with the
# Line 28 | Line 28 | or obtained by writing to the Free Softw
28   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
29   */
30  
31 < #if !defined(LT__STRL_H)
31 > #if !defined LT__STRL_H
32   #define LT__STRL_H 1
33  
34 < #if defined(LT_CONFIG_H)
34 > #if defined LT_CONFIG_H
35   #  include LT_CONFIG_H
36   #else
37   #  include <config.h>
# Line 40 | Line 40 | or obtained by writing to the Free Softw
40   #include <string.h>
41   #include "lt_system.h"
42  
43 < #if !defined(HAVE_STRLCAT)
43 > #if !defined HAVE_STRLCAT
44   #  define strlcat(dst,src,dstsize) lt_strlcat(dst,src,dstsize)
45   LT_SCOPE size_t lt_strlcat(char *dst, const char *src, const size_t dstsize);
46 < #endif /* !defined(HAVE_STRLCAT) */
46 > #endif /* !defined HAVE_STRLCAT */
47  
48 < #if !defined(HAVE_STRLCPY)
48 > #if !defined HAVE_STRLCPY
49   #  define strlcpy(dst,src,dstsize) lt_strlcpy(dst,src,dstsize)
50   LT_SCOPE size_t lt_strlcpy(char *dst, const char *src, const size_t dstsize);
51 < #endif /* !defined(HAVE_STRLCPY) */
51 > #endif /* !defined HAVE_STRLCPY */
52  
53 < #endif /*!defined(LT__STRL_H)*/
53 > #endif /*!defined LT__STRL_H*/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines