[hipl-commit] [trunk] Rev 4289: Do not cast the results of malloc/calloc/realloc.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Thu, 15 Apr 2010 19:38:33 +0200

revno: 4289
committer: Diego Biurrun <diego@xxxxxxxxxx>
branch nick: trunk
timestamp: Thu 2010-04-15 18:57:50 +0200
message:
  Do not cast the results of malloc/calloc/realloc.
  
  These functions return void*, which is compatible with any pointer.
modified:
  agent/hitdb.c
  agent/str_var.c
  firewall/conntrack.c
  firewall/datapkt.c
  firewall/dlist.c
  firewall/esp_prot_config.c
  firewall/esp_prot_conntrack.c
  firewall/hslist.c
  firewall/lsi.c
  firewall/proxyconndb.c
  firewall/proxydb.c
  firewall/rule_management.c
  firewall/user_ipsec_api.c
  firewall/user_ipsec_sadb.c
  hipd/close.c
  hipd/configfilereader.c
  hipd/dhtqueue.c
  hipd/esp_prot_anchordb.c
  hipd/hadb.c
  hipd/hiprelay.c
  hipd/input.c
  hipd/netdev.c
  hipd/oppdb.c
  hipd/oppipdb.c
  hipd/output.c
  hipd/user.c
  i3/chord/eprintf.c
  i3/chord/gen_conf.c
  i3/chord/gen_conf_same.c
  i3/i3/i3_addr.c
  i3/i3/i3_config.c
  i3/i3/i3_header.c
  i3/i3/i3_id.c
  i3/i3/i3_options.c
  i3/i3/i3_stack.c
  i3/i3/i3_trigger.c
  i3/i3/token_bucket.c
  i3/i3_client/coordinates.c
  i3/i3_client/downhill_simplex.c
  i3/i3_client/i3_client_api_ctx.c
  i3/i3_client/i3_client_context.c
  i3/i3_client/i3_client_fd.c
  i3/i3_client/i3_client_id.c
  i3/i3_client/i3_client_pkt.c
  i3/i3_client/i3_client_trigger.c
  i3/i3_client/i3server_list.c
  i3/utils/eprintf.c
  i3/utils/event.c
  i3/utils/inetfns.c
  lib/core/debug.c
  lib/core/hashchain.c
  lib/core/hashtree.c
  lib/core/linkedlist.c
  lib/core/message.c
  lib/core/straddr.c
  lib/gui/tools.c
  lib/gui/widgets.c
  lib/ipsec/policy_parse.c
  lib/opphip/wrap_db.c
  lib/tool/lutil.c
  lib/tool/nlink.c
  test/hashtest.c

Other related posts:

  • » [hipl-commit] [trunk] Rev 4289: Do not cast the results of malloc/calloc/realloc. - Diego Biurrun