~ubuntu-branches/ubuntu/utopic/nettle/utopic

« back to all changes in this revision

Viewing changes to tools/misc.h

  • Committer: Package Import Robot
  • Author(s): Magnus Holmgren
  • Date: 2013-05-07 22:57:14 UTC
  • mfrom: (8.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20130507225714-s331yr8ov53dtt17
Tags: 2.7-2
Tag some (ECC related) symbols that only exist on some architectures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
/* nettle, low-level cryptographics library
4
4
 *
5
 
 * Copyright (C) 2002, 2003 Niels M�ller
 
5
 * Copyright (C) 2002, 2003 Niels Möller
6
6
 *  
7
7
 * The nettle library is free software; you can redistribute it and/or modify
8
8
 * it under the terms of the GNU Lesser General Public License as published by
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);