various tweaks.

This commit is contained in:
rsc
2003-12-06 18:05:27 +00:00
parent c715a6127a
commit e97ceade5e
10 changed files with 74 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#ifndef _FCALL_H_
#define _FCALL_H_ 1
#if defined(__cplusplus)
extern "C" {
#ifdef __cplusplus
extern "C" {
#endif
/*
#pragma src "/sys/src/libc/9sys"
@@ -9,7 +9,6 @@ extern "C" {
*/
#define VERSION9P "9P2000"
#define MAXWELEM 16
typedef
@@ -123,7 +122,8 @@ int read9pmsg(int, void*, uint);
#pragma varargck type "M" ulong
#pragma varargck type "D" Dir*
*/
#if defined(__cplusplus)
#ifdef __cplusplus
}
#endif
#endif

View File

@@ -88,6 +88,7 @@ int send(Channel *c, void *v);
int sendp(Channel *c, void *v);
int sendul(Channel *c, unsigned long v);
int threadcreate(void (*f)(void *arg), void *arg, unsigned int stacksize);
int threadcreateidle(void (*f)(void*), void*, unsigned int);
void** threaddata(void);
void threadexits(char *);
void threadexitsall(char *);