summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-11-05 18:14:26 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:17:27 (GMT)
commit2b863a81194d06a51a0c5f975e3f0746925d676a (patch)
treeabb007c8fd2b0a21ba6880d5d9d7ed928579be4b /src/H5private.h
parent5069cbf96fcd4d7b7180d38a9f4931aa7f09bba5 (diff)
downloadhdf5-2b863a81194d06a51a0c5f975e3f0746925d676a.zip
hdf5-2b863a81194d06a51a0c5f975e3f0746925d676a.tar.gz
hdf5-2b863a81194d06a51a0c5f975e3f0746925d676a.tar.bz2
Change some GCC warnings to errors. Fix code to quiet some warnings.
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 4eac82d..b6bc88b 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -1376,25 +1376,25 @@ typedef off_t h5_stat_size_t;
#define HDstrcpy(X,Y) strcpy(X,Y)
#endif /* HDstrcpy */
#ifndef HDstrcspn
- #define HDstrcspn(X,Y) strcspn(X,Y)
+ #define HDstrcspn strcspn
#endif /* HDstrcspn */
#ifndef HDstrerror
- #define HDstrerror(N) strerror(N)
+ #define HDstrerror strerror
#endif /* HDstrerror */
#ifndef HDstrftime
- #define HDstrftime(S,Z,F,T) strftime(S,Z,F,T)
+ #define HDstrftime strftime
#endif /* HDstrftime */
#ifndef HDstrlen
- #define HDstrlen(S) strlen(S)
+ #define HDstrlen strlen
#endif /* HDstrlen */
#ifndef HDstrncat
- #define HDstrncat(X,Y,Z) strncat(X,Y,Z)
+ #define HDstrncat strncat
#endif /* HDstrncat */
#ifndef HDstrncmp
- #define HDstrncmp(X,Y,Z) strncmp(X,Y,Z)
+ #define HDstrncmp strncmp
#endif /* HDstrncmp */
#ifndef HDstrncpy
- #define HDstrncpy(X,Y,Z) strncpy(X,Y,Z)
+ #define HDstrncpy strncpy
#endif /* HDstrncpy */
#ifndef HDstrpbrk
#define HDstrpbrk(X,Y) strpbrk(X,Y)