idl2wrs: some code cleanups.
authorDario Lombardo <lomato@gmail.com>
Fri, 14 Aug 2015 10:02:38 +0000 (12:02 +0200)
committerMichael Mann <mmann78@netscape.net>
Wed, 2 Sep 2015 02:28:23 +0000 (02:28 +0000)
commit87f2bd45fc5f7ec2ee7b241df54ecca110280cec
tree51cef60a22795118c86e4061849859f738394161
parentaa1f55610b4a872eb1160a27fae1fa12cd28a5ed
idl2wrs: some code cleanups.

Code cleanups include:
- sanity checks for malloc()
- change forbidden APIs into g_* versions
- minor indentation fixes
- add modeline
- add compilation for cmake and autotools

Bug: 11052
Change-Id: I825f04d9703448f9165d188be2bdd185fce5ff5d
Reviewed-on: https://code.wireshark.org/review/10030
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
epan/dissectors/Makefile.am
epan/dissectors/dcerpc/CMakeLists.txt
epan/dissectors/dcerpc/Makefile.am
epan/dissectors/dcerpc/idl2wrs.c