~ubuntu-branches/ubuntu/quantal/gnutls26/quantal-security

« back to all changes in this revision

Viewing changes to lib/gl/strings.in.h

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2011-10-01 15:28:13 UTC
  • mfrom: (12.1.20 sid)
  • Revision ID: package-import@ubuntu.com-20111001152813-yygm1c4cxonfxhzy
Tags: 2.12.11-1
* New upstream version.
  + Allow CA importing of 0 certificates to succeed. Closes: #640639
* Add libp11-kit-dev to libgnutls-dev dependencies. (see #643811)
* [20_guiledocstring.diff] guile: Fix docstring extraction with CPP 4.5+.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* A substitute <strings.h>.
2
2
 
3
 
   Copyright (C) 2007-2010 Free Software Foundation, Inc.
 
3
   Copyright (C) 2007-2011 Free Software Foundation, Inc.
4
4
 
5
5
   This program is free software; you can redistribute it and/or modify
6
6
   it under the terms of the GNU Lesser General Public License as published by
16
16
   along with this program; if not, write to the Free Software Foundation,
17
17
   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
18
18
 
19
 
#ifndef _GL_STRINGS_H
 
19
#ifndef _@GUARD_PREFIX@_STRINGS_H
20
20
 
21
21
#if __GNUC__ >= 3
22
22
@PRAGMA_SYSTEM_HEADER@
23
23
#endif
 
24
@PRAGMA_COLUMNS@
 
25
 
 
26
/* Minix 3.1.8 has a bug: <sys/types.h> must be included before <strings.h>.
 
27
   But avoid namespace pollution on glibc systems.  */
 
28
#if defined __minix && !defined __GLIBC__
 
29
# include <sys/types.h>
 
30
#endif
24
31
 
25
32
/* The include_next requires a split double-inclusion guard.  */
26
33
#@INCLUDE_NEXT@ @NEXT_STRINGS_H@
27
34
 
28
 
#ifndef _GL_STRINGS_H
29
 
#define _GL_STRINGS_H
30
 
 
 
35
#ifndef _@GUARD_PREFIX@_STRINGS_H
 
36
#define _@GUARD_PREFIX@_STRINGS_H
 
37
 
 
38
 
 
39
/* The definitions of _GL_FUNCDECL_RPL etc. are copied here.  */
31
40
 
32
41
/* The definition of _GL_ARG_NONNULL is copied here.  */
33
42
 
38
47
#endif
39
48
 
40
49
 
 
50
  /* Find the index of the least-significant set bit.  */
 
51
#if @GNULIB_FFS@
 
52
# if !@HAVE_FFS@
 
53
_GL_FUNCDECL_SYS (ffs, int, (int i));
 
54
# endif
 
55
_GL_CXXALIAS_SYS (ffs, int, (int i));
 
56
_GL_CXXALIASWARN (ffs);
 
57
#elif defined GNULIB_POSIXCHECK
 
58
# undef ffs
 
59
# if HAVE_RAW_DECL_FFS
 
60
_GL_WARN_ON_USE (ffs, "ffs is not portable - use the ffs module");
 
61
# endif
 
62
#endif
 
63
 
41
64
/* Compare strings S1 and S2, ignoring case, returning less than, equal to or
42
65
   greater than zero if S1 is lexicographically less than, equal to or greater
43
66
   than S2.
89
112
}
90
113
#endif
91
114
 
92
 
#endif /* _GL_STRING_H */
93
 
#endif /* _GL_STRING_H */
 
115
#endif /* _@GUARD_PREFIX@_STRING_H */
 
116
#endif /* _@GUARD_PREFIX@_STRING_H */