Commit dbeec9f0 authored by Philip Carns's avatar Philip Carns

fix symbol names in weak stubs


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/branches/weak-symbol-devel@882 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 26f62e26
......@@ -20,10 +20,10 @@
typedef int hid_t;
typedef int herr_t;
hid_t __real_H5Fcreate(const char *filename, unsigned flags,
hid_t H5Fcreate(const char *filename, unsigned flags,
hid_t create_plist, hid_t access_plist) __attribute__((weak));
hid_t __real_H5Fcreate(const char *filename, unsigned flags,
hid_t H5Fcreate(const char *filename, unsigned flags,
hid_t create_plist, hid_t access_plist)
{
int rank;
......@@ -37,10 +37,10 @@ hid_t __real_H5Fcreate(const char *filename, unsigned flags,
return(-1);
}
hid_t __real_H5Fopen(const char *filename, unsigned flags,
hid_t H5Fopen(const char *filename, unsigned flags,
hid_t access_plist) __attribute__((weak));
hid_t __real_H5Fopen(const char *filename, unsigned flags,
hid_t H5Fopen(const char *filename, unsigned flags,
hid_t access_plist)
{
int rank;
......@@ -54,9 +54,9 @@ hid_t __real_H5Fopen(const char *filename, unsigned flags,
return(-1);
}
herr_t __real_H5Fclose(hid_t file_id) __attribute__((weak));
herr_t H5Fclose(hid_t file_id) __attribute__((weak));
herr_t __real_H5Fclose(hid_t file_id)
herr_t H5Fclose(hid_t file_id)
{
int rank;
......
......@@ -15,10 +15,10 @@
#include "mpi.h"
#include "darshan.h"
int __real_ncmpi_create(MPI_Comm comm, const char *path,
int ncmpi_create(MPI_Comm comm, const char *path,
int cmode, MPI_Info info, int *ncidp) __attribute__((weak));
int __real_ncmpi_create(MPI_Comm comm, const char *path,
int ncmpi_create(MPI_Comm comm, const char *path,
int cmode, MPI_Info info, int *ncidp)
{
int rank;
......@@ -32,10 +32,10 @@ int __real_ncmpi_create(MPI_Comm comm, const char *path,
return(-1);
}
int __real_ncmpi_open(MPI_Comm comm, const char *path,
int ncmpi_open(MPI_Comm comm, const char *path,
int omode, MPI_Info info, int *ncidp) __attribute__((weak));
int __real_ncmpi_open(MPI_Comm comm, const char *path,
int ncmpi_open(MPI_Comm comm, const char *path,
int omode, MPI_Info info, int *ncidp)
{
int rank;
......@@ -49,9 +49,9 @@ int __real_ncmpi_open(MPI_Comm comm, const char *path,
return(-1);
}
int __real_ncmpi_close(int ncid) __attribute__((weak));
int ncmpi_close(int ncid) __attribute__((weak));
int __real_ncmpi_close(int ncid)
int ncmpi_close(int ncid)
{
int rank;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment