client: group static function declarations together.
This commit is contained in:
		 Avuton Olrich
					Avuton Olrich
				
			
				
					committed by
					
						 Max Kellermann
						Max Kellermann
					
				
			
			
				
	
			
			
			 Max Kellermann
						Max Kellermann
					
				
			
						parent
						
							ee7369a8f1
						
					
				
				
					commit
					98e81287e3
				
			
							
								
								
									
										11
									
								
								src/client.c
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								src/client.c
									
									
									
									
									
								
							| @@ -113,6 +113,11 @@ static void client_write_deferred(struct client *client); | |||||||
|  |  | ||||||
| static void client_write_output(struct client *client); | static void client_write_output(struct client *client); | ||||||
|  |  | ||||||
|  | static void client_manager_expire(void); | ||||||
|  |  | ||||||
|  | static gboolean | ||||||
|  | client_in_event(GIOChannel *source, GIOCondition condition, gpointer data); | ||||||
|  |  | ||||||
| bool client_is_expired(const struct client *client) | bool client_is_expired(const struct client *client) | ||||||
| { | { | ||||||
| 	return client->channel == NULL; | 	return client->channel == NULL; | ||||||
| @@ -133,9 +138,6 @@ void client_set_permission(struct client *client, unsigned permission) | |||||||
| 	client->permission = permission; | 	client->permission = permission; | ||||||
| } | } | ||||||
|  |  | ||||||
| static void |  | ||||||
| client_manager_expire(void); |  | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * An idle event which calls client_manager_expire(). |  * An idle event which calls client_manager_expire(). | ||||||
|  */ |  */ | ||||||
| @@ -165,9 +167,6 @@ static inline void client_set_expired(struct client *client) | |||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
| static gboolean |  | ||||||
| client_in_event(GIOChannel *source, GIOCondition condition, gpointer data); |  | ||||||
|  |  | ||||||
| static void client_init(struct client *client, int fd) | static void client_init(struct client *client, int fd) | ||||||
| { | { | ||||||
| 	static unsigned int next_client_num; | 	static unsigned int next_client_num; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user