standardize various * conventions

This commit is contained in:
rsc 2006-09-06 17:27:19 +00:00
parent 03b6376f56
commit 9e9bcaf143
43 changed files with 503 additions and 503 deletions

2
ide.c
View file

@ -80,7 +80,7 @@ ide_probe_disk1(void)
// switch back to Device 0
outb(0x1F6, 0xE0 | (0<<4));
return (x < 1000);
return x < 1000;
}
void

View file

@ -18,7 +18,7 @@ static uint
ioapic_read(struct ioapic *io, int reg)
{
io->ioregsel = reg;
return (io->iowin);
return io->iowin;
}
static void

12
user.h
View file

@ -11,7 +11,7 @@ int exec(char *, char **);
int open(char*, int);
int mknod(char*, short, short, short);
int unlink(char*);
int fstat (int fd, struct stat *stat);
int fstat(int fd, struct stat*);
int link(char*, char*);
int mkdir(char*);
int chdir(char*);
@ -20,14 +20,14 @@ int getpid();
char* sbrk(int);
// ulib.c
int stat(char *, struct stat *stat);
int stat(char*, struct stat*);
int puts(char*);
char* strcpy(char*, char*);
char *strchr(const char *s, char c);
int strcmp(const char *p, const char *q);
void printf(int fd, char *fmt, ...);
char* strchr(const char*, char c);
int strcmp(const char*, const char*);
void printf(int, char*, ...);
char* gets(char*, int max);
unsigned int strlen(char*);
void * memset(void *dst, int c, unsigned int n);
void* memset(void*, int, unsigned int);
void* malloc(uint);
void free(void*);