Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Simply say fun_ptr(...) instead of (*fun_ptr)(...).
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 10 Nov 2011 22:36:16 +0000 (23:36 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 10 Nov 2011 23:32:00 +0000 (00:32 +0100)
commitbee3400ba6e1daeca869db8753dc4d86bcda28ca
tree6885ea85ceafd052b93218e835dc4a86e162acab
parent2b758af21612aa227b3a64876def8954e022dbd6
Simply say fun_ptr(...) instead of (*fun_ptr)(...).

Another possible cleanup in the same spirit is to remove the
ampersand when taking the address of a function.
This is left as an exercise for the reader.
39 files changed:
examples/xbt/sem_sched.c
include/xbt/ex.h
src/gras/DataDesc/ddt_exchange.c
src/gras/Msg/gras_msg_exchange.c
src/gras/Msg/timer.c
src/gras/Transport/transport.c
src/gras/Virtu/gras_module.c
src/gras/Virtu/process.c
src/gras/Virtu/rl_process.c
src/msg/msg_actions.c
src/simix/private.h
src/simix/smx_context.c
src/simix/smx_context_base.c
src/simix/smx_deployment.c
src/simix/smx_network.c
src/surf/network.c
src/surf/network_im.c
src/surf/sg_platf.c
src/surf/surf_routing.c
src/surf/surf_routing_vivaldi.c
src/surf/surfxml_parse.c
src/xbt/backtrace_windows.c
src/xbt/config.c
src/xbt/dict.c
src/xbt/dynar.c
src/xbt/ex.c
src/xbt/graph.c
src/xbt/graphxml_parse.c
src/xbt/heap.c
src/xbt/mallocator.c
src/xbt/mmalloc/mfree.c
src/xbt/mmalloc/mmalloc.c
src/xbt/mmalloc/mmcheck.c
src/xbt/mmalloc/mrealloc.c
src/xbt/xbt_matrix.c
src/xbt/xbt_os_thread.c
src/xbt/xbt_rl_synchro.c
src/xbt/xbt_sg_synchro.c
src/xbt/xbt_synchro.c