mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	ANSIfy function prototypes, from Tim Ruehsen.
This commit is contained in:
		@@ -43,9 +43,7 @@
 | 
				
			|||||||
#include "tmux.h"
 | 
					#include "tmux.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
char *
 | 
					char *
 | 
				
			||||||
fgetln(fp, len)
 | 
					fgetln(FILE *fp, size_t *len)
 | 
				
			||||||
	FILE *fp;
 | 
					 | 
				
			||||||
	size_t *len;
 | 
					 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	static char *buf = NULL;
 | 
						static char *buf = NULL;
 | 
				
			||||||
	static size_t bufsiz = 0;
 | 
						static size_t bufsiz = 0;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -52,10 +52,7 @@ char	*BSDoptarg;		/* argument associated with option */
 | 
				
			|||||||
 *	Parse argc/argv argument vector.
 | 
					 *	Parse argc/argv argument vector.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
int
 | 
					int
 | 
				
			||||||
BSDgetopt(nargc, nargv, ostr)
 | 
					BSDgetopt(int nargc, char *const *nargv, const char *ostr)
 | 
				
			||||||
	int nargc;
 | 
					 | 
				
			||||||
	char * const *nargv;
 | 
					 | 
				
			||||||
	const char *ostr;
 | 
					 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	static char *place = EMSG;		/* option letter processing */
 | 
						static char *place = EMSG;		/* option letter processing */
 | 
				
			||||||
	char *oli;				/* option letter list index */
 | 
						char *oli;				/* option letter list index */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user