Rationalised use of #includes to be more standards-compliant.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
|
||||
int
|
||||
sys_access(path, mode)
|
||||
|
||||
@@ -4,15 +4,13 @@
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <system.h>
|
||||
|
||||
char *sbrk();
|
||||
#include "system.h"
|
||||
#include <unistd.h>
|
||||
|
||||
char *
|
||||
sys_break(incr)
|
||||
int incr;
|
||||
{
|
||||
char *sbrk();
|
||||
register char *brk = sbrk(incr);
|
||||
|
||||
if (brk == (char *) 0 || brk == (char *)-1)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
|
||||
int
|
||||
sys_chmode(path, mode)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
|
||||
void
|
||||
sys_close(fp)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
|
||||
extern File *_get_entry();
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
|
||||
long
|
||||
sys_filesize(path)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
|
||||
int
|
||||
sys_lock(path)
|
||||
|
||||
@@ -6,8 +6,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
|
||||
long
|
||||
sys_modtime(path)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
|
||||
extern File *_get_entry();
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
|
||||
int
|
||||
sys_read(fp, bufptr, bufsiz, pnbytes)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
|
||||
int
|
||||
sys_remove(path)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
|
||||
int
|
||||
sys_rename(path1, path2)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
|
||||
long lseek();
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/* $Id$ */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
|
||||
void
|
||||
sys_stop(how)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
/* RCS: $Id$ */
|
||||
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
|
||||
File _sys_ftab[SYS_NOPEN] = {
|
||||
{ 0, OP_READ},
|
||||
|
||||
@@ -62,6 +62,4 @@ _PROTOTYPE(long sys_modtime, (char *));
|
||||
/* return value for sys_break */
|
||||
#define ILL_BREAK ((char *)0)
|
||||
|
||||
/* system's idea of block */
|
||||
#define BUFSIZ 1024
|
||||
#endif /* __SYSTEM_INCLUDED__ */
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
|
||||
long time();
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
|
||||
int
|
||||
sys_unlock(path)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
/* $Id$ */
|
||||
|
||||
#include <system.h>
|
||||
#include "system.h"
|
||||
|
||||
int
|
||||
sys_write(fp, bufptr, nbytes)
|
||||
|
||||
Reference in New Issue
Block a user