diff options
author | Steve Dickson <steved@redhat.com> | 2017-07-19 16:04:39 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2017-07-26 11:27:23 -0400 |
commit | 8d53eb0690e1aaa2cf05fbc4c9fef42634e0b5f1 (patch) | |
tree | 42d69a5d906a026f3e2394650a59a5fc8c8af460 /support/include/nfs_paths.h | |
parent | 6d3af74740899646d5d9bd1b033056b5357d4429 (diff) | |
download | nfs-utils-8d53eb0690e1aaa2cf05fbc4c9fef42634e0b5f1.tar.gz nfs-utils-8d53eb0690e1aaa2cf05fbc4c9fef42634e0b5f1.tar.xz nfs-utils-8d53eb0690e1aaa2cf05fbc4c9fef42634e0b5f1.zip |
cache.c: removed a couple warning
cache.c:623:13: warning: In the GNU C Library, "major" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "major", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"major", you should undefine it after including <sys/types.h>.
if (parsed->major != major(stb.st_dev) ||
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cache.c:624:13: warning: In the GNU C Library, "minor" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "minor", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"minor", you should undefine it after including <sys/types.h>.
parsed->minor != minor(stb.st_dev))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/nfs_paths.h')
0 files changed, 0 insertions, 0 deletions