1
1
openmpi/opal/util
Rainer Keller 8e1b23779f - Replace combinations of
#if defined (c_plusplus)
          defined (__cplusplus)
   followed by
      extern "C" {
   and the closing counterpart by BEGIN_C_DECLS and END_C_DECLS.

   Notable exceptions are:
    - opal/include/opal_config_bottom.h:
      This is our generated code, that itself defines BEGIN_C_DECL and
      END_C_DECL
    - ompi/mpi/cxx/mpicxx.h:
      Here we do not include opal_config_bottom.h:                                 
    - Belongs to external code:                                                    
      opal/mca/backtrace/darwin/MoreBacktrace/MoreDebugging/MoreBacktrace.c        
      opal/mca/backtrace/darwin/MoreBacktrace/MoreDebugging/MoreBacktrace.h        
    - opal/include/opal/prefetch.h:
      Has C++ specific macros that are protected:                                  

    - Had #if ... } #endif  _and_ END_C_DECLS (aka end up with 2x
      END_C_DECLS)
      ompi/mca/btl/openib/btl_openib.h
    - opal/event/event.h has #ifdef __cplusplus as BEGIN_C_DECLS...
    - opal/win32/ompi_process.h: had extern "C"\n {...
      opal/win32/ompi_process.h: dito
    - ompi/mca/btl/pcie/btl_pcie_lex.l: needed to add *_C_DECLS
      ompi/mpi/f90/test/align_c.c: dito
    - ompi/debuggers/msgq_interface.h: used #ifdef __cplusplus
    - ompi/mpi/f90/xml/common-C.xsl: Amend

   Tested on linux using --with-openib and --with-mx

   The following do not contain either opal_config.h, orte_config.h or
   ompi_config.h
   (but possibly other header files, that include one of the above):
      ompi/mca/bml/r2/bml_r2_ft.h
      ompi/mca/btl/gm/btl_gm_endpoint.h
      ompi/mca/btl/gm/btl_gm_proc.h
      ompi/mca/btl/mx/btl_mx_endpoint.h
      ompi/mca/btl/ofud/btl_ofud_endpoint.h
      ompi/mca/btl/ofud/btl_ofud_frag.h
      ompi/mca/btl/ofud/btl_ofud_proc.h
      ompi/mca/btl/openib/btl_openib_mca.h
      ompi/mca/btl/portals/btl_portals_endpoint.h
      ompi/mca/btl/portals/btl_portals_frag.h
      ompi/mca/btl/sctp/btl_sctp_endpoint.h
      ompi/mca/btl/sctp/btl_sctp_proc.h
      ompi/mca/btl/tcp/btl_tcp_endpoint.h
      ompi/mca/btl/tcp/btl_tcp_ft.h
      ompi/mca/btl/tcp/btl_tcp_proc.h
      ompi/mca/btl/template/btl_template_endpoint.h
      ompi/mca/btl/template/btl_template_proc.h
      ompi/mca/btl/udapl/btl_udapl_eager_rdma.h
      ompi/mca/btl/udapl/btl_udapl_endpoint.h
      ompi/mca/btl/udapl/btl_udapl_mca.h
      ompi/mca/btl/udapl/btl_udapl_proc.h
      ompi/mca/mtl/mx/mtl_mx_endpoint.h
      ompi/mca/mtl/mx/mtl_mx.h
      ompi/mca/mtl/psm/mtl_psm_endpoint.h
      ompi/mca/mtl/psm/mtl_psm.h
      ompi/mca/pml/cm/pml_cm_component.h
      ompi/mca/pml/csum/pml_csum_comm.h
      ompi/mca/pml/dr/pml_dr_comm.h
      ompi/mca/pml/dr/pml_dr_component.h
      ompi/mca/pml/dr/pml_dr_endpoint.h
      ompi/mca/pml/dr/pml_dr_recvfrag.h
      ompi/mca/pml/example/pml_example.h
      ompi/mca/pml/ob1/pml_ob1_comm.h
      ompi/mca/pml/ob1/pml_ob1_component.h
      ompi/mca/pml/ob1/pml_ob1_endpoint.h
      ompi/mca/pml/ob1/pml_ob1_rdmafrag.h
      ompi/mca/pml/ob1/pml_ob1_recvfrag.h
      ompi/mca/pml/v/pml_v_output.h
      opal/include/opal/prefetch.h
      opal/mca/timer/aix/timer_aix.h
      opal/util/qsort.h
      test/support/components.h

This commit was SVN r21855.

The following SVN revision numbers were found above:
  r2 --> open-mpi/ompi@58fdc18855
2009-08-20 11:42:18 +00:00
..
keyval - Replace combinations of 2009-08-20 11:42:18 +00:00
arch.c - As discussed revert r21330, Fortran-configure info should 2009-06-01 19:02:34 +00:00
arch.h ... Delayed due to notifier commits earlier this day ... 2009-04-29 01:32:14 +00:00
argv.c ... Delayed due to notifier commits earlier this day ... 2009-04-29 01:32:14 +00:00
argv.h - Multiple functions, that allocate and return new 2009-05-14 00:20:07 +00:00
basename.c ... Delayed due to notifier commits earlier this day ... 2009-04-29 01:32:14 +00:00
basename.h - Multiple functions, that allocate and return new 2009-05-14 00:20:07 +00:00
bit_ops.h Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00
cmd_line.c - Update the warn_unused result from allocating functions 2008-07-31 15:46:09 +00:00
cmd_line.h - Replace combinations of 2009-08-20 11:42:18 +00:00
convert.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
convert.h On windows make sure we add the initial path separator only if we are 2007-07-01 17:51:34 +00:00
crc.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
crc.h - Replace combinations of 2009-08-20 11:42:18 +00:00
daemon_init.c Next step in the project split, mainly source code re-arranging 2006-02-12 01:33:29 +00:00
daemon_init.h - Replace combinations of 2009-08-20 11:42:18 +00:00
error.c - Fix buffer size warning 2008-08-06 14:53:43 +00:00
error.h - Replace combinations of 2009-08-20 11:42:18 +00:00
few.c One typo and one UNIX conversion of EOL. 2006-08-25 23:22:35 +00:00
few.h - Replace combinations of 2009-08-20 11:42:18 +00:00
help-opal-util.txt Improve the help messages from r20706. 2009-07-09 11:58:31 +00:00
if.c The kernel index of the network interface wasn't set on Windows, it really caused a lot of problems. 2009-07-02 14:44:41 +00:00
if.h Change the return type to handle the case where an invalid interface name is passed to this function. 2009-04-02 18:35:09 +00:00
keyval_parse.c One big step forward. Mostly explicit casting for Windows plus the 2006-08-22 20:07:42 +00:00
keyval_parse.h - Replace combinations of 2009-08-20 11:42:18 +00:00
Makefile.am Per a comment on the users list, don't try to install our own signal 2009-03-20 01:05:30 +00:00
malloc.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
malloc.h - Replace combinations of 2009-08-20 11:42:18 +00:00
net.c Improve the help messages from r20706. 2009-07-09 11:58:31 +00:00
net.h - An intrusive commit yet again (sorry): with the separation we 2009-03-04 15:35:54 +00:00
numtostr.c Next step in the project split, mainly source code re-arranging 2006-02-12 01:33:29 +00:00
numtostr.h Change a bunch of 'OMPI' names to OPAL names, since this is opal. 2007-03-29 01:00:33 +00:00
opal_environ.c Use the correct prefix. 2008-03-31 21:42:59 +00:00
opal_environ.h - An intrusive commit yet again (sorry): with the separation we 2009-03-04 15:35:54 +00:00
opal_getcwd.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
opal_getcwd.h - As long as a header declares _DECLSPEC functionality 2009-03-17 01:45:19 +00:00
opal_pty.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
opal_pty.h - Replace combinations of 2009-08-20 11:42:18 +00:00
os_dirpath.c Coverty blame list: 2007-09-14 02:08:37 +00:00
os_dirpath.h On windows make sure we add the initial path separator only if we are 2007-07-01 17:51:34 +00:00
os_path.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
os_path.h - Replace combinations of 2009-08-20 11:42:18 +00:00
output.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
output.h - Add the proper __opal_attribute_format__(__printf__...) to 2009-05-14 00:10:59 +00:00
path.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
path.h Add missing header. 2009-07-13 19:40:31 +00:00
printf.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
printf.h Fix some typos in comments submitted by Bert Wesarg. 2009-03-03 12:50:46 +00:00
qsort.c This is a very large change to rename several #define values from 2009-05-06 20:11:28 +00:00
qsort.h - Replace combinations of 2009-08-20 11:42:18 +00:00
show_help_lex.h - Replace combinations of 2009-08-20 11:42:18 +00:00
show_help_lex.l - Replace combinations of 2009-08-20 11:42:18 +00:00
show_help.c Remove some dead code 2009-05-26 21:17:00 +00:00
show_help.h This commit represents a bunch of work on a Mercurial side branch. As 2008-05-13 20:00:55 +00:00
stacktrace.c - It's BUS_ADRERR, not BUSADRERR... 2009-08-12 13:07:04 +00:00
stacktrace.h Small cleanups: remove an unused dependency to signal.h and include 2008-12-18 22:39:49 +00:00
strncpy.c Next step in the project split, mainly source code re-arranging 2006-02-12 01:33:29 +00:00
strncpy.h - Replace combinations of 2009-08-20 11:42:18 +00:00
sys_limits.c - For the upcoming header cleanup commit, 2009-04-29 00:49:23 +00:00
sys_limits.h - Replace combinations of 2009-08-20 11:42:18 +00:00
trace.c Next step in the project split, mainly source code re-arranging 2006-02-12 01:33:29 +00:00
trace.h - Replace combinations of 2009-08-20 11:42:18 +00:00