diff mbox series

[41/41] libmultipath: don't define __user

Message ID 20240808152620.93965-42-mwilck@suse.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show
Series multipath-tools: comply with C library reserved names | expand

Commit Message

Martin Wilck Aug. 8, 2024, 3:26 p.m. UTC
This may have been necessary in the old days, but it isn't
necessary any more now.

Signed-off-by: Martin Wilck <mwilck@suse.com>
---
 libmultipath/prioritizers/alua_rtpg.c | 1 -
 libmultipath/sg_include.h             | 1 -
 2 files changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/libmultipath/prioritizers/alua_rtpg.c b/libmultipath/prioritizers/alua_rtpg.c
index dd2224c..e53f447 100644
--- a/libmultipath/prioritizers/alua_rtpg.c
+++ b/libmultipath/prioritizers/alua_rtpg.c
@@ -21,7 +21,6 @@ 
 #include <libudev.h>
 #include <errno.h>
 
-#define __user
 #include <scsi/sg.h>
 
 #include "../structs.h"
diff --git a/libmultipath/sg_include.h b/libmultipath/sg_include.h
index 43bff2d..443819b 100644
--- a/libmultipath/sg_include.h
+++ b/libmultipath/sg_include.h
@@ -1,6 +1,5 @@ 
 #ifndef SG_INCLUDE_H_INCLUDED
 #define SG_INCLUDE_H_INCLUDED
-#define __user
 #include <scsi/sg.h>
 
 #ifndef DID_OK