ANSIfy function prototypes, from Tim Ruehsen.

pull/1/head
Nicholas Marriott 2012-03-02 11:23:51 +00:00
parent b801118fe5
commit 82f4db0d10
2 changed files with 2 additions and 7 deletions

View File

@ -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;

View File

@ -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 */