util: const event_notifier_get_fd() argument
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
		
							parent
							
								
									972ad21553
								
							
						
					
					
						commit
						12f0b68c82
					
				| @ -38,7 +38,7 @@ int event_notifier_set_handler(EventNotifier *, EventNotifierHandler *); | ||||
| 
 | ||||
| #ifdef CONFIG_POSIX | ||||
| void event_notifier_init_fd(EventNotifier *, int fd); | ||||
| int event_notifier_get_fd(EventNotifier *); | ||||
| int event_notifier_get_fd(const EventNotifier *); | ||||
| #else | ||||
| HANDLE event_notifier_get_handle(EventNotifier *); | ||||
| #endif | ||||
|  | ||||
| @ -77,7 +77,7 @@ void event_notifier_cleanup(EventNotifier *e) | ||||
|     close(e->wfd); | ||||
| } | ||||
| 
 | ||||
| int event_notifier_get_fd(EventNotifier *e) | ||||
| int event_notifier_get_fd(const EventNotifier *e) | ||||
| { | ||||
|     return e->rfd; | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Marc-André Lureau
						Marc-André Lureau