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:
Assar Westerlund
1996-08-13 23:37:58 +00:00
parent ade9160a68
commit abd01e4efc
6 changed files with 6 additions and 6 deletions

View File

@@ -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.",

View File

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

View File

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

View File

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

View File

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

View File

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