Modified to include the appropriate header file rather than (badly)

prototyping syscalls itself.
This commit is contained in:
dtrg 2006-07-26 12:28:56 +00:00
parent ec254c30c1
commit dc5d08b2a3
4 changed files with 2 additions and 14 deletions

View file

@ -64,18 +64,6 @@ typedef struct {
/* Return values of setpath() */
enum f_path { F_OK, F_NOMATCH, F_NOPATH } ;
/* Library routines */
extern char *strchr();
extern char *strrchr();
extern char *strcpy();
extern char *strcat();
extern int getpid();
extern int unlink();
extern int close();
extern int open();
extern int creat();
/* Own routines */
enum f_path getpath();
enum f_path scan_end();

View file

@ -6,6 +6,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "ack.h"
#include "list.h"
#include "trans.h"

View file

@ -5,6 +5,7 @@
*/
#include <stdlib.h>
#include <string.h>
#include "ack.h"
#include "list.h"
#include "trans.h"

View file

@ -18,8 +18,6 @@ static char rcsid[] = "$Id$";
* Author: Hans van Staveren
*/
extern char *strncpy();
unsigned hash(string) char *string; {
register char *p;
register unsigned i,sum;