mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 01:34:18 +00:00 
			
		
		
		
	Fix AIX warnings.
This commit is contained in:
		
							
								
								
									
										4
									
								
								compat.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								compat.h
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
				
			|||||||
/* $Id: compat.h,v 1.30 2010-10-27 21:40:03 nicm Exp $ */
 | 
					/* $Id: compat.h,v 1.31 2010-11-11 20:45:49 nicm Exp $ */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
					 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
				
			||||||
@@ -159,6 +159,7 @@ typedef uint64_t u_int64_t;
 | 
				
			|||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef HAVE_BZERO
 | 
					#ifndef HAVE_BZERO
 | 
				
			||||||
 | 
					#undef bzero
 | 
				
			||||||
#define bzero(buf, len) memset(buf, 0, len);
 | 
					#define bzero(buf, len) memset(buf, 0, len);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -202,6 +203,7 @@ int	 	 daemon(int, int);
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#ifndef HAVE_FORKPTY
 | 
					#ifndef HAVE_FORKPTY
 | 
				
			||||||
/* forkpty.c */
 | 
					/* forkpty.c */
 | 
				
			||||||
 | 
					#include <sys/ioctl.h>
 | 
				
			||||||
pid_t		 forkpty(int *, char *, struct termios *, struct winsize *);
 | 
					pid_t		 forkpty(int *, char *, struct termios *, struct winsize *);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										3
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								configure
									
									
									
									
										vendored
									
									
								
							@@ -1,5 +1,5 @@
 | 
				
			|||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
# $Id: configure,v 1.57 2010-11-11 20:37:53 nicm Exp $
 | 
					# $Id: configure,v 1.58 2010-11-11 20:45:49 nicm Exp $
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
					# Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
@@ -131,7 +131,6 @@ EOF
 | 
				
			|||||||
# ------------------------------------------------------------------------------
 | 
					# ------------------------------------------------------------------------------
 | 
				
			||||||
    AIX)
 | 
					    AIX)
 | 
				
			||||||
	cat <<EOF >>$CONFIG_H
 | 
						cat <<EOF >>$CONFIG_H
 | 
				
			||||||
#define HAVE_BZERO
 | 
					 | 
				
			||||||
#define HAVE_SETENV
 | 
					#define HAVE_SETENV
 | 
				
			||||||
#define HAVE_STDINT_H
 | 
					#define HAVE_STDINT_H
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user