nexmon – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /* wsgcrypt.h |
2 | * |
||
3 | * Wrapper around libgcrypt's include file gcrypt.h. |
||
4 | * For libgcrypt 1.5.0, including gcrypt.h directly brings up lots of |
||
5 | * compiler warnings about deprecated definitions. |
||
6 | * Try to work around these warnings to ensure a clean build with -Werror. |
||
7 | * |
||
8 | * Wireshark - Network traffic analyzer |
||
9 | * By Gerald Combs <gerald@wireshark.org> |
||
10 | * Copyright 2007 Gerald Combs |
||
11 | * |
||
12 | * This program is free software; you can redistribute it and/or |
||
13 | * modify it under the terms of the GNU General Public License |
||
14 | * as published by the Free Software Foundation; either version 2 |
||
15 | * of the License, or (at your option) any later version. |
||
16 | * |
||
17 | * This program is distributed in the hope that it will be useful, |
||
18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
20 | * GNU General Public License for more details. |
||
21 | * |
||
22 | * You should have received a copy of the GNU General Public License |
||
23 | * along with this program; if not, write to the Free Software |
||
24 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
||
25 | */ |
||
26 | |||
27 | #ifndef __WSGCRYPT_H__ |
||
28 | #define __WSGCRYPT_H__ |
||
29 | |||
30 | #ifdef HAVE_LIBGCRYPT |
||
31 | |||
32 | #include <ws_diag_control.h> |
||
33 | |||
34 | DIAG_OFF(deprecated-declarations) |
||
35 | |||
36 | #include <gcrypt.h> |
||
37 | |||
38 | DIAG_ON(deprecated-declarations) |
||
39 | |||
40 | #endif /* HAVE_LIBGCRYPT */ |
||
41 | |||
42 | #endif /* __WSGCRYPT_H__ */ |