removed __P
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1602 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		@@ -54,10 +54,6 @@ RCSID("$Id$");
 | 
			
		||||
#include <sys/param.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef __P
 | 
			
		||||
#define __P(X) X
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef _PATH_SHELLS
 | 
			
		||||
#define _PATH_SHELLS "/etc/shells"
 | 
			
		||||
#endif
 | 
			
		||||
@@ -77,7 +73,7 @@ RCSID("$Id$");
 | 
			
		||||
 | 
			
		||||
static char *okshells[] = { _PATH_BSHELL, _PATH_CSHELL, NULL };
 | 
			
		||||
static char **curshell, **shells, *strings;
 | 
			
		||||
static char **initshells __P((void));
 | 
			
		||||
static char **initshells (void);
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Get a list of shells from _PATH_SHELLS, if it exists.
 | 
			
		||||
 
 | 
			
		||||
@@ -64,15 +64,13 @@ static char *Bfmt[] = {
 | 
			
		||||
 | 
			
		||||
static size_t gsize;
 | 
			
		||||
static char *pt;
 | 
			
		||||
#ifndef	__P
 | 
			
		||||
#define	__P(x)	()
 | 
			
		||||
#endif
 | 
			
		||||
static int _add __P((char *));
 | 
			
		||||
static int _conv __P((int, int, int));
 | 
			
		||||
 | 
			
		||||
static int _add (char *);
 | 
			
		||||
static int _conv (int, int, int);
 | 
			
		||||
#ifdef	HAVE_MKTIME
 | 
			
		||||
static int _secs __P((const struct tm *));
 | 
			
		||||
static int _secs (const struct tm *);
 | 
			
		||||
#endif	/* HAVE_MKTIME */
 | 
			
		||||
static size_t _fmt __P((const char *, const struct tm *));
 | 
			
		||||
static size_t _fmt (const char *, const struct tm *);
 | 
			
		||||
 | 
			
		||||
size_t
 | 
			
		||||
strftime(char *s, size_t maxsize, const char *format, const struct tm *t)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user