mirror of
				https://github.com/brmlab/osmo-tetra.git
				synced 2025-10-30 23:14:00 +01:00 
			
		
		
		
	gsmtap: Fix warnings
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
		
							parent
							
								
									1bc5434a99
								
							
						
					
					
						commit
						d4948d3c29
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -7,6 +7,7 @@ | ||||||
| 
 | 
 | ||||||
| #include <osmocom/core/msgb.h> | #include <osmocom/core/msgb.h> | ||||||
| #include <osmocom/core/gsmtap.h> | #include <osmocom/core/gsmtap.h> | ||||||
|  | #include <osmocom/core/gsmtap_util.h> | ||||||
| #include <osmocom/core/bits.h> | #include <osmocom/core/bits.h> | ||||||
| #include <netinet/in.h> | #include <netinet/in.h> | ||||||
| 
 | 
 | ||||||
|  | @ -70,8 +71,6 @@ int tetra_gsmtap_sendmsg(struct msgb *msg) | ||||||
| 
 | 
 | ||||||
| int tetra_gsmtap_init(const char *host, uint16_t port) | int tetra_gsmtap_init(const char *host, uint16_t port) | ||||||
| { | { | ||||||
| 	int fd; |  | ||||||
| 
 |  | ||||||
| 	g_gti = gsmtap_source_init(host, port, 0); | 	g_gti = gsmtap_source_init(host, port, 0); | ||||||
| 	if (!g_gti) | 	if (!g_gti) | ||||||
| 		return -EINVAL; | 		return -EINVAL; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Sylvain Munaut
						Sylvain Munaut