Include type `int' on all definitions and remove unnecessary
`register'. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@645 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -94,7 +94,7 @@ pop_dropinfo(POP *p)
|
|||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if(p->debug && msg_num > 0) {
|
if(p->debug && msg_num > 0) {
|
||||||
register i;
|
int i;
|
||||||
for (i = 0, mp = p->mlp; i < p->msg_count; i++, mp++)
|
for (i = 0, mp = p->mlp; i < p->msg_count; i++, mp++)
|
||||||
pop_log(p,POP_DEBUG,
|
pop_log(p,POP_DEBUG,
|
||||||
"Msg %d at offset %d is %d octets long and has %u lines.",
|
"Msg %d at offset %d is %d octets long and has %u lines.",
|
||||||
|
@@ -83,5 +83,5 @@ typedef struct XauthP {
|
|||||||
|
|
||||||
#include "auth-proto.h"
|
#include "auth-proto.h"
|
||||||
|
|
||||||
extern auth_debug_mode;
|
extern int auth_debug_mode;
|
||||||
#endif
|
#endif
|
||||||
|
@@ -48,7 +48,7 @@ RCSID("$Id$");
|
|||||||
|
|
||||||
#include <des.h>
|
#include <des.h>
|
||||||
|
|
||||||
extern encrypt_debug_mode;
|
extern int encrypt_debug_mode;
|
||||||
|
|
||||||
#define CFB 0
|
#define CFB 0
|
||||||
#define OFB 1
|
#define OFB 1
|
||||||
|
@@ -77,7 +77,7 @@ RCSID("$Id$");
|
|||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
|
||||||
int kerberos4_cksum P((unsigned char *, int));
|
int kerberos4_cksum P((unsigned char *, int));
|
||||||
extern auth_debug_mode;
|
extern int auth_debug_mode;
|
||||||
|
|
||||||
static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0,
|
static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0,
|
||||||
AUTHTYPE_KERBEROS_V4, };
|
AUTHTYPE_KERBEROS_V4, };
|
||||||
|
@@ -131,7 +131,7 @@ Dump(char direction, unsigned char *buffer, int length)
|
|||||||
# define min(x,y) ((x<y)? x:y)
|
# define min(x,y) ((x<y)? x:y)
|
||||||
unsigned char *pThis;
|
unsigned char *pThis;
|
||||||
int offset;
|
int offset;
|
||||||
extern pettydump;
|
extern int pettydump;
|
||||||
|
|
||||||
offset = 0;
|
offset = 0;
|
||||||
|
|
||||||
|
@@ -1766,7 +1766,7 @@ static
|
|||||||
void
|
void
|
||||||
rmut(void)
|
rmut(void)
|
||||||
{
|
{
|
||||||
register f;
|
int f;
|
||||||
int found = 0;
|
int found = 0;
|
||||||
struct utmp *u, *utmp;
|
struct utmp *u, *utmp;
|
||||||
int nutmp;
|
int nutmp;
|
||||||
|
Reference in New Issue
Block a user