os: unexport EnableLocalUser() and DisableLocalUser()
these aren't used by module, so no need to export them. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1344>
This commit is contained in:
		
							parent
							
								
									54441ff98a
								
							
						
					
					
						commit
						e621081fa3
					
				| 
						 | 
				
			
			@ -370,12 +370,6 @@ extern _X_EXPORT void
 | 
			
		|||
ResetHosts(const char *display);
 | 
			
		||||
 | 
			
		||||
#ifndef NO_LOCAL_CLIENT_CRED
 | 
			
		||||
extern _X_EXPORT void
 | 
			
		||||
EnableLocalUser(void);
 | 
			
		||||
 | 
			
		||||
extern _X_EXPORT void
 | 
			
		||||
DisableLocalUser(void);
 | 
			
		||||
 | 
			
		||||
extern _X_EXPORT void
 | 
			
		||||
LocalAccessScopeUser(void);
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										11
									
								
								os/access.c
								
								
								
								
							
							
						
						
									
										11
									
								
								os/access.c
								
								
								
								
							| 
						 | 
				
			
			@ -260,6 +260,11 @@ static void siTypesInitialize(void);
 | 
			
		|||
static void EnableLocalHost(void);
 | 
			
		||||
static void DisableLocalHost(void);
 | 
			
		||||
 | 
			
		||||
#ifndef NO_LOCAL_CLIENT_CRED
 | 
			
		||||
static void EnableLocalUser(void);
 | 
			
		||||
static void DisableLocalUser(void);
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * called when authorization is not enabled to add the
 | 
			
		||||
 * local host to the access list
 | 
			
		||||
| 
						 | 
				
			
			@ -348,8 +353,7 @@ out:
 | 
			
		|||
    return length;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void
 | 
			
		||||
EnableLocalUser(void)
 | 
			
		||||
static void EnableLocalUser(void)
 | 
			
		||||
{
 | 
			
		||||
    char *addr = NULL;
 | 
			
		||||
    int length = -1;
 | 
			
		||||
| 
						 | 
				
			
			@ -364,8 +368,7 @@ EnableLocalUser(void)
 | 
			
		|||
    free(addr);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void
 | 
			
		||||
DisableLocalUser(void)
 | 
			
		||||
static void DisableLocalUser(void)
 | 
			
		||||
{
 | 
			
		||||
    char *addr = NULL;
 | 
			
		||||
    int length = -1;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue