various changes from plan 9
This commit is contained in:
parent
e1dc7e4511
commit
678ede7e54
5 changed files with 20 additions and 3 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
#pragma src "/sys/src/libip"
|
||||
#pragma lib "libip.a"
|
||||
|
|
@ -106,9 +107,11 @@ long udpwrite(int, Udphdr*, void*, long);
|
|||
|
||||
Ipifc* readipifc(char*, Ipifc*, int);
|
||||
|
||||
void hnputv(void*, uvlong);
|
||||
void hnputl(void*, uint);
|
||||
void hnputs(void*, ushort);
|
||||
uint nhgetl(void*);
|
||||
uvlong nhgetv(void*);
|
||||
ushort nhgets(void*);
|
||||
ushort ptclbsum(uchar*, int);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue