• Pavan Balaji's avatar
    [svn-r10544] Cleanup pass on mpi.h.in and mpio.h.in · 8bb71a57
    Pavan Balaji authored
    Made a cleanup pass on mpi.h.in and the function definitions to make
    mpi.h.in consistent with the MPI standard.
    1. The usage of "*" vs. "[]" was not consistent with the MPI standard
    (aside from the consistency changes added in tickets 125 and 126 in
    MPI-3).  This commit makes this notation consistent.
    2. Consistently provide function parameter names for all MPI
    functions.  Some functions had parameter names, while others did not.
    3. Consistently use line-breaks for all function prototypes.  Some
    prototypes were on a single line, while others were split across
    4. Reorder prototypes to better place them in sections (e.g., all
    collectives go to the same section).  Move all PMPI definitions to the
    PMPI section.  Move all MPIX_ extension functions to the same section.
    The following prototypes are different from that given in the
    standard; we use "indx" instead of "index" or "binding" instead of
    "bind", to avoid conflicts with preused variable names: MPI_Waitany,
    MPI_Testany, MPI_Graph_create, MPI_Graph_get, MPI_Graph_map,
    MPI_T_enum_get_item, MPI_T_cvar_get_info, MPI_T_pvar_get_info.
    Reviewed by dinan.