|  | @@ -3,6 +3,10 @@
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  #define STRUCT_TTY_NAME_LEN (32)
 |  |  #define STRUCT_TTY_NAME_LEN (32)
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +#ifdef __cplusplus
 | 
											
												
													
														|  | 
 |  | +extern "C" {
 | 
											
												
													
														|  | 
 |  | +#endif
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  |  struct tty;
 |  |  struct tty;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  struct tty_operations
 |  |  struct tty_operations
 | 
											
										
											
												
													
														|  | @@ -24,3 +28,7 @@ void tty_print(struct tty* p_tty, const char* str);
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  int make_serial_tty(struct tty* p_tty, int id);
 |  |  int make_serial_tty(struct tty* p_tty, int id);
 | 
											
												
													
														|  |  int make_vga_tty(struct tty* p_tty);
 |  |  int make_vga_tty(struct tty* p_tty);
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +#ifdef __cplusplus
 | 
											
												
													
														|  | 
 |  | +}
 | 
											
												
													
														|  | 
 |  | +#endif
 |