various tweaks.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 *);
|
||||
|
||||
Reference in New Issue
Block a user