Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 79 → Rev 80

/shark/trunk/include/sys/stat.h
33,6 → 33,8
# include <time.h> /* For time_t. */
#endif
 
#include "ll/sys/cdefs.h"
 
/* The Single Unix specification says that some more types are
available here. */
__DJ_dev_t
/shark/trunk/include/sys/utsname.h
20,11 → 20,11
 
/**
------------
CVS : $Id: utsname.h,v 1.1.1.1 2002-03-29 14:12:51 pj Exp $
CVS : $Id: utsname.h,v 1.2 2003-03-13 13:41:04 pj Exp $
 
File: $File$
Revision: $Revision: 1.1.1.1 $
Last update: $Date: 2002-03-29 14:12:51 $
Revision: $Revision: 1.2 $
Last update: $Date: 2003-03-13 13:41:04 $
------------
 
utsname.h
53,6 → 53,10
#ifndef __SYS_UTSNAME_H__
#define __SYS_UTSNAME_H__
 
#include "ll/sys/cdefs.h"
 
__BEGIN_DECLS
 
struct utsname {
char machine[18];
char nodename[8];
63,4 → 67,5
 
int uname(struct utsname *name);
 
__END_DECLS
#endif
/shark/trunk/include/sys/sysmacro.h
19,7 → 19,10
 
#ifndef _SYS_SYSMACROS_H
#define _SYS_SYSMACROS_H 1
#include "ll/sys/cdefs.h"
 
__BEGIN_DECLS
_
/* For compatibility we provide alternative names.
 
The problem here is that compilers other than GCC probably don't
28,4 → 31,5
#define minor(dev) ((int)((dev) & 0xff))
#define makedev(major, minor) (((major) << 8) | (minor))
 
__END_DECLS
#endif /* sys/sysmacros.h */
/shark/trunk/include/sys/mount.h
27,7 → 27,10
#include <sys/types.h>
#include <fs/mount.h>
#include <fs/fsind.h>
#include "ll/sys/cdefs.h"
 
__BEGIN_DECLS
 
dev_t fdevice __P ((char *device_name));
 
int mount __P ((dev_t device, u_int8_t fsind,
35,4 → 38,5
 
int umount __P ((dev_t device));
 
__END_DECLS
#endif
/shark/trunk/include/sys/mutex.h
25,11 → 25,11
***************************************/
 
/*
* CVS : $Id: mutex.h,v 1.1.1.1 2002-03-29 14:12:51 pj Exp $
* CVS : $Id: mutex.h,v 1.2 2003-03-13 13:41:04 pj Exp $
*
* File: $File$
* Revision: $Revision: 1.1.1.1 $
* Last update: $Date: 2002-03-29 14:12:51 $
* Revision: $Revision: 1.2 $
* Last update: $Date: 2003-03-13 13:41:04 $
*/
 
/*
74,7 → 74,10
 
#include <h/sys/kern.h>
#include <h/sys/const.h>
#include "ll/sys/cdefs.h"
 
__BEGIN_DECLS
 
/*+ a mutex object +*/
typedef SEM mutex_t;
 
95,5 → 98,6
/*+ Unlock a mutex +*/
#define mutex_unlock(ptr) { sem_signal(*(ptr)); }
 
__END_DECLS
#endif
 
/shark/trunk/include/sys/types.h
21,11 → 21,11
 
/**
------------
CVS : $Id: types.h,v 1.1.1.1 2002-03-29 14:12:51 pj Exp $
CVS : $Id: types.h,v 1.2 2003-03-13 13:41:04 pj Exp $
 
File: $File$
Revision: $Revision: 1.1.1.1 $
Last update: $Date: 2002-03-29 14:12:51 $
Revision: $Revision: 1.2 $
Last update: $Date: 2003-03-13 13:41:04 $
------------
 
**/
66,6 → 66,9
 
#include <bits/types.h>
#include <sys/htypes.h>
#include "ll/sys/cdefs.h"
 
__BEGIN_DECLS
__DJ_dev_t
#undef __DJ_dev_t
161,5 → 164,6
typedef __u_quad_t u_quad_t;
typedef __quad_t quad_t;
 
__END_DECLS
#endif /* !__dj_include_sys_types_h_ */