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"
char *
fgetln(fp, len)
FILE *fp;
size_t *len;
fgetln(FILE *fp, size_t *len)
{
static char *buf = NULL;
static size_t bufsiz = 0;

View File

@ -52,10 +52,7 @@ char *BSDoptarg; /* argument associated with option */
* Parse argc/argv argument vector.
*/
int
BSDgetopt(nargc, nargv, ostr)
int nargc;
char * const *nargv;
const char *ostr;
BSDgetopt(int nargc, char *const *nargv, const char *ostr)
{
static char *place = EMSG; /* option letter processing */
char *oli; /* option letter list index */