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

« back to all changes in this revision

Viewing changes to lib/gl/tests/macros.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
/* Common macros used by gnulib tests.
2
 
   Copyright (C) 2006-2010 Free Software Foundation, Inc.
 
2
   Copyright (C) 2006-2011 Free Software Foundation, Inc.
3
3
 
4
4
   This program is free software: you can redistribute it and/or modify
5
5
   it under the terms of the GNU General Public License as published by
62
62
   *not* work for function parameters of array type, because they are actually
63
63
   parameters of pointer type.  */
64
64
#define SIZEOF(array) (sizeof (array) / sizeof (array[0]))
 
65
 
 
66
/* STREQ (str1, str2)
 
67
   Return true if two strings compare equal.  */
 
68
#define STREQ(a, b) (strcmp (a, b) == 0)