mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:07:38 +00:00 
			
		
		
		
	Add reallocarray prototype.
This commit is contained in:
		
							
								
								
									
										9
									
								
								compat.h
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								compat.h
									
									
									
									
									
								
							@@ -255,13 +255,18 @@ int		 unsetenv(const char *);
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#ifndef HAVE_CFMAKERAW
 | 
					#ifndef HAVE_CFMAKERAW
 | 
				
			||||||
/* cfmakeraw.c */
 | 
					/* cfmakeraw.c */
 | 
				
			||||||
void		cfmakeraw(struct termios *);
 | 
					void		 cfmakeraw(struct termios *);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef HAVE_OPENAT
 | 
					#ifndef HAVE_OPENAT
 | 
				
			||||||
/* openat.c */
 | 
					/* openat.c */
 | 
				
			||||||
#define AT_FDCWD -100
 | 
					#define AT_FDCWD -100
 | 
				
			||||||
int		openat(int, const char *, int, ...);
 | 
					int		 openat(int, const char *, int, ...);
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef HAVE_REALLOCARRAY
 | 
				
			||||||
 | 
					/* reallocarray.c */
 | 
				
			||||||
 | 
					void		*reallocarray(void *, size_t, size_t size);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef HAVE_GETOPT
 | 
					#ifdef HAVE_GETOPT
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user