wireshark/wsutil
Hadriel Kaplan 0353c9a8e3 Fix Bug 6489 to stop compiler warning on gcrypt deprecated delcarations
The libgcrypt library has several deprecated functions exported, that we don't use.
Unfortunately the GCC compiler warns about these deprecated functions regardless,
which is quite annoying.  This commit makes clang/gcc ignore the deprecated attribute,
for gcrypt.h only.  The danger with this is if gcrypt ever deprecates a function
we actually *use*, then we won't see the warning.  So I'm not sure if it's a good or
bad idea to do this change, but it's really annoying to see the warnings and makes
finding real warnings difficult.

Change-Id: I03e80a6e7e4833ce0f709088c9ab4af98193db3d
Reviewed-on: https://code.wireshark.org/review/128
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Martin Kaiser <wireshark@kaiser.cx>
2014-02-09 13:18:40 +00:00
..
CMakeLists.txt Fix bug #9618: Invalid utf8 causes JSON dissector assertion failure "g_utf8_validate" 2014-01-07 22:17:32 +00:00
Makefile.am Fix bug #9618: Invalid utf8 causes JSON dissector assertion failure "g_utf8_validate" 2014-01-07 22:17:32 +00:00
Makefile.common Fix bug #9618: Invalid utf8 causes JSON dissector assertion failure "g_utf8_validate" 2014-01-07 22:17:32 +00:00
Makefile.nmake Fix bug #9618: Invalid utf8 causes JSON dissector assertion failure "g_utf8_validate" 2014-01-07 22:17:32 +00:00
adler32.c Correct include path. 2013-11-09 14:04:52 +00:00
adler32.h Remove comment (leftovers from r49444) + add missing WS_DLL_PUBLIC for adler32 2013-11-09 14:19:19 +00:00
aes.c Move a bunch of the crypt modules and pint.h into wsutil. 2013-08-01 23:34:47 +00:00
aes.h Move a bunch of the crypt modules and pint.h into wsutil. 2013-08-01 23:34:47 +00:00
airpdcap_wep.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:29:52 +00:00
base64.c Move epan/base64.[ch] to wsutil/ with function name change. 2013-12-21 14:38:51 +00:00
base64.h Move epan/base64.[ch] to wsutil/ with function name change. 2013-12-21 14:38:51 +00:00
bits_count_ones.h Rename swar_count_bits() to ws_count_ones() 2013-11-09 04:47:08 +00:00
bits_ctz.h Try to split ws_ctz() from hfinfo_bitshift(). 2013-11-08 22:01:12 +00:00
bitswap.c Fix previous commit + rename to bitswap. 2013-11-16 22:44:29 +00:00
bitswap.h Fix previous commit + rename to bitswap. 2013-11-16 22:44:29 +00:00
crash_info.c Add some comments to #else and #endif to make it clearer what's going 2013-05-10 02:41:22 +00:00
crash_info.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
crc6.c From Anders: 2013-06-19 22:28:58 +00:00
crc6.h From Anders: 2013-06-19 22:28:58 +00:00
crc7.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:29:52 +00:00
crc7.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
crc8.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:29:52 +00:00
crc8.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
crc10.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:29:52 +00:00
crc10.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
crc11.c Include <wsutil/crc11.h> so that we check whether the prototypes therein 2012-12-21 01:57:03 +00:00
crc11.h Add a few of our headers to code generated by pycrc (their faq says we can do 2013-06-20 16:54:13 +00:00
crc16-plain.c Add a few of our headers to code generated by pycrc (their faq says we can do 2013-06-20 16:54:13 +00:00
crc16-plain.h Add a few of our headers to code generated by pycrc (their faq says we can do 2013-06-20 16:54:13 +00:00
crc16.c Add STANAG 5066 DTS CRC routines. Bug 9217 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9217) 2013-10-22 23:30:26 +00:00
crc16.h Add STANAG 5066 DTS CRC routines. Bug 9217 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9217) 2013-10-22 23:30:26 +00:00
crc32.c - Change guint32 array initializer constants to use 'U' rather than 'L' 2013-12-20 16:57:02 +00:00
crc32.h Add STANAG 5066 DTS CRC routines. Bug 9217 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9217) 2013-10-22 23:30:26 +00:00
crcdrm.c Update FSF address - part II. 2012-06-28 23:18:38 +00:00
crcdrm.h Export libwsutil symbols using WS_DLL_PUBLIC define 2013-02-28 14:09:46 +00:00
des.c Move a bunch of the crypt modules and pint.h into wsutil. 2013-08-01 23:34:47 +00:00
des.h Move a bunch of the crypt modules and pint.h into wsutil. 2013-08-01 23:34:47 +00:00
eax.c Move a bunch of the crypt modules and pint.h into wsutil. 2013-08-01 23:34:47 +00:00
eax.h Move a bunch of the crypt modules and pint.h into wsutil. 2013-08-01 23:34:47 +00:00
file_util.c Trivial: Fix typo. 2013-09-16 16:49:17 +00:00
file_util.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
filesystem.c Make internal functions static 2014-01-10 07:01:15 +00:00
filesystem.h Add routines to set the personal file directory paths (personal 2013-11-19 19:45:38 +00:00
g711.c Move u3.{h,c} and g711.{h,c} into wsutil. 2013-07-16 02:04:55 +00:00
g711.h Move u3.{h,c} and g711.{h,c} into wsutil. 2013-07-16 02:04:55 +00:00
inet_aton.c Add $Id$ 2013-10-06 21:05:47 +00:00
inet_aton.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
inet_ntop.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:29:52 +00:00
inet_pton.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:29:52 +00:00
inet_v6defs.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
md4.c Move a bunch of the crypt modules and pint.h into wsutil. 2013-08-01 23:34:47 +00:00
md4.h Move a bunch of the crypt modules and pint.h into wsutil. 2013-08-01 23:34:47 +00:00
md5.c Consistently use "guint8" for "8-bit byte". 2014-01-14 18:03:54 +00:00
md5.h Move a bunch of the crypt modules and pint.h into wsutil. 2013-08-01 23:34:47 +00:00
mpeg-audio.c replace "unsigned" datatype with "guint". Some mpeg files needed "unsigned int" instead. 2013-01-04 05:22:43 +00:00
mpeg-audio.h From beroset: 2013-03-03 17:14:19 +00:00
nstime.c Replace wtap_nstime with nstime_t, remove wtap_nstime_to_sec. 2013-11-09 10:38:02 +00:00
nstime.h Replace wtap_nstime with nstime_t, remove wtap_nstime_to_sec. 2013-11-09 10:38:02 +00:00
pint.h Replace macros: BSWAP16, BSWAP32, BSWAP64 with glib-version. 2013-11-29 19:21:20 +00:00
plugins.c Move most of the plugin code from epan to wsutil and remove all 2013-12-02 08:30:29 +00:00
plugins.h Move most of the plugin code from epan to wsutil and remove all 2013-12-02 08:30:29 +00:00
privileges.c Squelch some cast-discard warnings. 2012-12-21 00:53:30 +00:00
privileges.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
rc4.c Move a bunch of the crypt modules and pint.h into wsutil. 2013-08-01 23:34:47 +00:00
rc4.h Move a bunch of the crypt modules and pint.h into wsutil. 2013-08-01 23:34:47 +00:00
report_err.c Move report_err.{h,c} from epan into wsutil: there's nothing epan-specific there and moving it avoids having to recompile the file for use in editcap and capinfos (which don't link against libwireshark). 2013-07-15 02:48:26 +00:00
report_err.h Move report_err.{h,c} from epan into wsutil: there's nothing epan-specific there and moving it avoids having to recompile the file for use in editcap and capinfos (which don't link against libwireshark). 2013-07-15 02:48:26 +00:00
sha1.c Keep checkAPIs happy (even though it's just test code). Get that test code 2013-08-02 02:34:13 +00:00
sha1.h Move a bunch of the crypt modules and pint.h into wsutil. 2013-08-01 23:34:47 +00:00
sign_ext.h There's no need to mark inline functions with _U_ 2013-12-26 10:53:53 +00:00
str_util.c Move UAT xton() to wsutil library 2014-01-08 00:28:13 +00:00
str_util.h Move UAT xton() to wsutil library 2014-01-08 00:28:13 +00:00
strnatcmp.c Move strnatcmp.{h,c} from epan into wsutil: there's nothing epan-specific 2013-07-16 01:16:50 +00:00
strnatcmp.h Move strnatcmp.{h,c} from epan into wsutil: there's nothing epan-specific 2013-07-16 01:16:50 +00:00
strncasecmp.c Undo r52382 for this file: We use a different solution on Windows 2013-10-06 21:07:58 +00:00
strptime.c Add $Id$ 2013-10-06 21:05:47 +00:00
strptime.h Export libwireshark symbols using WS_DLL_PUBLIC define 2013-03-01 23:53:11 +00:00
tempfile.c Move get_tempfile_path() from filesystem.[ch] to tempfile.[ch]. 2013-11-17 04:39:44 +00:00
tempfile.h Fix (-W)documentation error found by Clang 2013-12-02 13:45:59 +00:00
type_util.c We always HAVE_CONFIG_H so don't bother checking whether we have it or not. 2012-09-20 01:29:52 +00:00
type_util.h Export libwsutil symbols using WS_DLL_PUBLIC define 2013-02-28 14:09:46 +00:00
u3.c Revert some inadvertent changes from the last commit. 2013-11-14 22:52:05 +00:00
u3.h Revert part of 52896 and (for now) all of 52935. As Jeff pointed out, 2013-10-29 04:05:27 +00:00
unicode-utils.c Need <strsafe.h> for StringCchPrintf(). 2014-01-08 00:39:14 +00:00
unicode-utils.h Fix bug #9618: Invalid utf8 causes JSON dissector assertion failure "g_utf8_validate" 2014-01-07 22:17:32 +00:00
wsgcrypt.h Fix Bug 6489 to stop compiler warning on gcrypt deprecated delcarations 2014-02-09 13:18:40 +00:00
wsgetopt.c make getopt_long() available on systems that don't have it natively 2013-07-16 20:15:02 +00:00
wsgetopt.h Add $Id$ 2013-10-06 21:05:47 +00:00
wsgetopt_int.h Fix another dozen or so files with bad FSF addresses as caught by licensecheck. 2013-04-16 00:00:09 +00:00