~ubuntu-branches/ubuntu/vivid/nettle/vivid-proposed

« back to all changes in this revision

Viewing changes to tools/misc.h

  • Committer: Package Import Robot
  • Author(s): Magnus Holmgren
  • Date: 2013-03-24 11:38:21 UTC
  • mfrom: (1.5.2)
  • mto: (8.1.7 sid)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: package-import@ubuntu.com-20130324113821-47kc1q7ojsxmuevv
Tags: 2.6-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 * 
17
17
 * You should have received a copy of the GNU Lesser General Public License
18
18
 * along with the nettle library; see the file COPYING.LIB.  If not, write to
19
 
 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
20
 
 * MA 02111-1307, USA.
 
19
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 
20
 * MA 02111-1301, USA.
21
21
 */
22
22
 
23
23
#ifndef NETTLE_TOOLS_MISC_H_INCLUDED
28
28
#endif
29
29
 
30
30
void
31
 
die(const char *format, ...)
32
 
#if __GNUC___
33
 
     __attribute__((__format__ (__printf__,1, 2)))
34
 
     __attribute__((__noreturn__))
35
 
#endif
36
 
     ;
 
31
die(const char *format, ...) PRINTF_STYLE (1, 2) NORETURN;
37
32
 
38
33
void
39
 
werror(const char *format, ...)
40
 
#if __GNUC___
41
 
     __attribute__((__format__ (__printf__,1, 2)))
42
 
#endif
43
 
     ;
 
34
werror(const char *format, ...) PRINTF_STYLE (1, 2);
44
35
 
45
36
void *
46
37
xalloc(size_t size);