Browse Source

Remove non-standard Ken C pragmas.

clang doesn't like them.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Ronald G. Minnich 3 years ago
parent
commit
f27ed9168b
88 changed files with 4 additions and 341 deletions
  1. 0 3
      acme/bin/source/acd/acd.h
  2. 0 1
      sys/doc/acme/acme.ms
  3. 0 6
      sys/include/9p.h
  4. 0 3
      sys/include/String.h
  5. 0 1
      sys/include/acpi/acpica/platform/acmacosx.h
  6. 0 7
      sys/include/auth.h
  7. 0 2
      sys/include/authsrv.h
  8. 0 4
      sys/include/avl.h
  9. 0 3
      sys/include/bin.h
  10. 0 3
      sys/include/bio.h
  11. 0 2
      sys/include/complete.h
  12. 0 2
      sys/include/ctype.h
  13. 0 1
      sys/include/cursor.h
  14. 0 2
      sys/include/disk.h
  15. 0 5
      sys/include/draw.h
  16. 0 2
      sys/include/event.h
  17. 0 5
      sys/include/fcall.h
  18. 0 2
      sys/include/flate.h
  19. 0 2
      sys/include/frame.h
  20. 0 2
      sys/include/geometry.h
  21. 0 5
      sys/include/html.h
  22. 0 8
      sys/include/httpd.h
  23. 0 6
      sys/include/ip.h
  24. 0 2
      sys/include/keyboard.h
  25. 3 65
      sys/include/libc.h
  26. 0 2
      sys/include/libsec.h
  27. 0 2
      sys/include/mach.h
  28. 0 10
      sys/include/memdraw.h
  29. 0 2
      sys/include/memlayer.h
  30. 0 1
      sys/include/mouse.h
  31. 0 4
      sys/include/mp.h
  32. 0 2
      sys/include/nfs3.h
  33. 0 10
      sys/include/oventi.h
  34. 0 2
      sys/include/plumb.h
  35. 0 2
      sys/include/regexp.h
  36. 0 3
      sys/include/scribble.h
  37. 0 2
      sys/include/stdio.h
  38. 0 4
      sys/include/sunrpc.h
  39. 0 1
      sys/include/usb/audioctl.h
  40. 0 9
      sys/include/venti.h
  41. 0 1
      sys/lib/lex/ncform
  42. 0 2
      sys/man/2/fmtinstall
  43. 0 1
      sys/src/9/amd64/dat.h
  44. 0 1
      sys/src/9/amd64/io.h
  45. 0 2
      sys/src/9/port/edf.h
  46. 1 29
      sys/src/9/port/lib.h
  47. 0 13
      sys/src/9/port/portdat.h
  48. 0 1
      sys/src/9/riscv/dat.h
  49. 0 3
      sys/src/9/riscv/fns.h
  50. 0 1
      sys/src/cmd/acid/acid.h
  51. 0 1
      sys/src/cmd/aquarela/netbios.h
  52. 0 2
      sys/src/cmd/astro/astro.h
  53. 0 2
      sys/src/cmd/auth/authcmdlib.h
  54. 0 7
      sys/src/cmd/auth/factotum/dat.h
  55. 0 1
      sys/src/cmd/auth/keyfs.c
  56. 0 1
      sys/src/cmd/aux/flashfs/flashfs.h
  57. 0 1
      sys/src/cmd/aux/gps/dat.h
  58. 0 3
      sys/src/cmd/aux/realemu/fns.h
  59. 0 6
      sys/src/cmd/cwfs/portdat.h
  60. 0 2
      sys/src/cmd/db/fns.h
  61. 0 1
      sys/src/cmd/dc.c
  62. 0 9
      sys/src/cmd/disk/kfs/portfns.h
  63. 0 1
      sys/src/cmd/disk/prep/fdisk.c
  64. 0 8
      sys/src/cmd/disk/rd9660.c
  65. 0 1
      sys/src/cmd/field.c
  66. 0 1
      sys/src/cmd/fossil/9user.c
  67. 0 7
      sys/src/cmd/fossil/flfmt9660.c
  68. 0 1
      sys/src/cmd/fossil/fns.h
  69. 0 1
      sys/src/cmd/htmlroff/a.h
  70. 0 1
      sys/src/cmd/lex/ncform
  71. 0 2
      sys/src/cmd/map/map.h
  72. 0 1
      sys/src/cmd/md5sum.c
  73. 0 3
      sys/src/cmd/ndb/dns.h
  74. 0 1
      sys/src/cmd/ns.c
  75. 0 1
      sys/src/cmd/paqfs/paqfs.c
  76. 0 1
      sys/src/cmd/ratfs/main.c
  77. 0 1
      sys/src/cmd/sha1sum.c
  78. 0 2
      sys/src/cmd/ssh1/scp.c
  79. 0 2
      sys/src/cmd/ssh2/netssh.h
  80. 0 2
      sys/src/cmd/trace.c
  81. 0 1
      sys/src/cmd/units.y
  82. 0 1
      sys/src/cmd/vac/unvac.c
  83. 0 2
      sys/src/cmd/venti/devnull.c
  84. 0 2
      sys/src/cmd/venti/ro.c
  85. 0 2
      sys/src/cmd/venti/srv/dat.h
  86. 0 2
      sys/src/cmd/vnc/vncs.c
  87. 0 2
      sys/src/cmd/webcookies.c
  88. 0 2
      sys/src/cmd/webfs/cookies.c

+ 0 - 3
acme/bin/source/acd/acd.h

@@ -121,9 +121,6 @@ struct Toc {
 
 extern int msfconv(Fmt*);
 
-#pragma	varargck	argpos	error	1
-#pragma	varargck	argpos	ctlprint	2
-#pragma	varargck	type		"M"	Msf
 
 enum {	/* state */
 	Sunknown,

+ 0 - 1
sys/doc/acme/acme.ms

@@ -524,7 +524,6 @@ even without Acme.)
 .PP
 A related change was to add lines of the form
 .P1
-#pragma src "/sys/src/libregexp"
 .P2
 to header files; coupled with Acme's ability to locate a header file,
 this provides a fast, keyboardless way to get the source associated with a library.

+ 0 - 6
sys/include/9p.h

@@ -7,15 +7,12 @@
  * in the LICENSE file.
  */
 
-#pragma src "/sys/src/lib9p"
-#pragma lib "lib9p.a"
 
 /*
  * Maps from ulongs to void*s.
  */
 typedef struct Intmap	Intmap;
 
-#pragma incomplete Intmap
 
 Intmap*	allocmap(void (*inc)(void*));
 void		freemap(Intmap*, void (*destroy)(void*));
@@ -37,8 +34,6 @@ typedef struct Tree		Tree;
 typedef struct Readdir	Readdir;
 typedef struct Srv Srv;
 
-#pragma incomplete Filelist
-#pragma incomplete Readdir
 
 struct Fid
 {
@@ -163,7 +158,6 @@ typedef struct Cmdtab Cmdtab;
 Cmdbuf*		parsecmd(char *a, int n);
 void		respondcmderror(Req*, Cmdbuf*, char*, ...);
 Cmdtab*	lookupcmd(Cmdbuf*, Cmdtab*, int);
-#pragma varargck argpos respondcmderr 3
 struct Cmdbuf
 {
 	char	*buf;

+ 0 - 3
sys/include/String.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	src	"/sys/src/libString"
-#pragma	lib	"libString.a"
 
 /* extensible Strings */
 typedef struct String {
@@ -47,7 +45,6 @@ extern int	s_read(Biobuf*, String*, int);
 extern char	*s_read_line(Biobuf*, String*);
 extern char	*s_getline(Biobuf*, String*);
 typedef struct Sinstack Sinstack;
-#pragma incomplete Sinstack
 extern char	*s_rdinstack(Sinstack*, String*);
 extern Sinstack	*s_allocinstack(char*);
 extern void	s_freeinstack(Sinstack*);

+ 0 - 1
sys/include/acpi/acpica/platform/acmacosx.h

@@ -124,7 +124,6 @@
 #endif /* __APPLE__ */
 
 #ifdef __clang__
-#pragma clang diagnostic ignored "-Wformat-nonliteral"
 #endif
 
 #endif /* __ACMACOSX_H__ */

+ 0 - 7
sys/include/auth.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	src	"/sys/src/libauth"
-#pragma	lib	"libauth.a"
 
 /*
  * Interface for typical callers.
@@ -126,7 +124,6 @@ void	_freeattr(Attr*);
 Attr	*_mkattr(int, char*, char*, Attr*);
 Attr	*_parseattr(char*);
 char	*_strfindattr(Attr*, char*);
-#pragma varargck type "A" Attr*
 
 extern AuthInfo*	fauth_proxy(int, AuthRpc *rpc, AuthGetkey *getkey,
 				    char *params);
@@ -152,7 +149,3 @@ extern void		auth_freerpc(AuthRpc *rpc);
 extern uint		auth_rpc(AuthRpc *rpc, char *verb, void *a,
 				    int n);
 extern int		auth_wep(char*, char*, ...);
-#pragma varargck argpos auth_proxy 3
-#pragma varargck argpos auth_challenge 1
-#pragma varargck argpos auth_respond 8
-#pragma varargck argpos auth_getuserpasswd 2

+ 0 - 2
sys/include/authsrv.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	src	"/sys/src/libauthsrv"
-#pragma	lib	"libauthsrv.a"
 
 /*
  * Interface for talking to authentication server.

+ 0 - 4
sys/include/avl.h

@@ -7,15 +7,11 @@
  * in the LICENSE file.
  */
 
-#pragma	lib	"libavl.a"
-#pragma src "/sys/src/libavl"
 
 typedef struct Avl	Avl;
 typedef struct Avltree	Avltree;
 typedef struct Avlwalk	Avlwalk;
 
-#pragma incomplete Avltree
-#pragma incomplete Avlwalk
 
 struct Avl
 {

+ 0 - 3
sys/include/bin.h

@@ -7,12 +7,9 @@
  * in the LICENSE file.
  */
 
-#pragma	lib	"libbin.a"
-#pragma	src	"/sys/src/libbin"
 
 typedef struct Bin	Bin;
 
-#pragma incomplete Bin
 
 void	*binalloc(Bin **, uint32_t size, int zero);
 void	*bingrow(Bin **, void *op, uint32_t osize, uint32_t size,

+ 0 - 3
sys/include/bio.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	src	"/sys/src/libbio"
-#pragma	lib	"libbio.a"
 
 typedef	struct	Biobuf	Biobuf;
 typedef	struct	Biobuf	Biobufhdr;
@@ -75,4 +73,3 @@ int	Bungetc(Biobufhdr*);
 int	Bungetrune(Biobufhdr*);
 int32_t	Bwrite(Biobufhdr*, void*, int32_t);
 
-#pragma	varargck	argpos	Bprint	2

+ 0 - 2
sys/include/complete.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	lib	"libcomplete.a"
-#pragma src "/sys/src/libcomplete"
 
 typedef struct Completion Completion;
 

+ 0 - 2
sys/include/ctype.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	src	"/sys/src/libc/port"
-#pragma	lib	"libc.a"
 
 #define	_U	01
 #define	_L	02

+ 0 - 1
sys/include/cursor.h

@@ -7,7 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma src "/sys/src/libdraw"
 
 struct	Cursor
 {

+ 0 - 2
sys/include/disk.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma src "/sys/src/libdisk"
-#pragma lib "libdisk.a"
 
 /* SCSI interface */
 typedef struct Scsi Scsi;

+ 0 - 5
sys/include/draw.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma src "/sys/src/libdraw"
-#pragma lib "libdraw.a"
 
 typedef struct	Cachefont Cachefont;
 typedef struct	Cacheinfo Cacheinfo;
@@ -24,10 +22,7 @@ typedef struct	RGB RGB;
 typedef struct	Screen Screen;
 typedef struct	Subfont Subfont;
 
-#pragma incomplete Mouse
 
-#pragma varargck	type	"R"	Rectangle
-#pragma varargck	type	"P"	Point
 extern	int	Rfmt(Fmt*);
 extern	int	Pfmt(Fmt*);
 

+ 0 - 2
sys/include/event.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma src "/sys/src/libdraw"
-#pragma lib "libdraw.a"
 
 typedef struct	Cursor Cursor;
 typedef struct	Event Event;

+ 0 - 5
sys/include/fcall.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	src	"/sys/src/libc/9sys"
-#pragma	lib	"libc.a"
 
 #define	VERSION9P	"9P2000"
 
@@ -144,6 +142,3 @@ int	dirmodefmt(Fmt*);
 
 int	read9pmsg(int, void*, uint);
 
-#pragma	varargck	type	"F"	Fcall*
-#pragma	varargck	type	"M"	ulong
-#pragma	varargck	type	"D"	Dir*

+ 0 - 2
sys/include/flate.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	lib	"libflate.a"
-#pragma	src	"/sys/src/libflate"
 
 /*
  * errors from deflate, deflateinit, deflateblock,

+ 0 - 2
sys/include/frame.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	src	"/sys/src/libframe"
-#pragma	lib	"libframe.a"
 
 typedef struct Frbox Frbox;
 typedef struct Frame Frame;

+ 0 - 2
sys/include/geometry.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma lib "libgeometry.a"
-#pragma src "/sys/src/libgeometry"
 typedef double Matrix[4][4];
 typedef struct Point3 Point3;
 typedef struct Quaternion Quaternion;

+ 0 - 5
sys/include/html.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma lib "libhtml.a"
-#pragma src "/sys/src/libhtml"
 
 /* UTILS */
 extern uint8_t*	fromStr(Rune* buf, int n, int chset);
@@ -88,7 +86,6 @@ enum {
 typedef struct Token Token;
 typedef struct Attr Attr;
 
-#pragma incomplete Token
 
 /* BUILD */
 
@@ -123,7 +120,6 @@ typedef struct Pstate Pstate;
 typedef struct ItemSource ItemSource;
 typedef struct Lay Lay;		/* defined in Layout module */
 
-#pragma incomplete Lay
 
 
 /* Alignment types */
@@ -628,7 +624,6 @@ extern int	targetid(Rune* s);
 extern Rune*	targetname(int targid);
 extern int	validitems(Item* i);
 
-#pragma varargck	type "I"	Item*
 
 /* Control print output */
 extern int	warn;

+ 0 - 8
sys/include/httpd.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	lib	"libhttpd.a"
-#pragma	src	"/sys/src/libhttpd"
 
 typedef struct HConnect		HConnect;
 typedef struct HContent		HContent;
@@ -24,7 +22,6 @@ typedef struct HSPairs		HSPairs;
 
 typedef struct Bin		Bin;
 
-#pragma incomplete Bin
 
 enum
 {
@@ -280,14 +277,9 @@ char			*hurlunesc(HConnect *c, char *s);
 int			hwrite(Hio*, void*, int);
 int			hxferenc(Hio*, int);
 
-#pragma			varargck	argpos	hprint	2
 
 /*
  * D is httpd format date conversion
  * U is url escape convertsion
  * H is html escape conversion
  */
-#pragma	varargck	type	"D"	long
-#pragma	varargck	type	"D"	ulong
-#pragma	varargck	type	"U"	char*
-#pragma	varargck	type	"H"	char*

+ 0 - 6
sys/include/ip.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	src	"/sys/src/libip"
-#pragma	lib	"libip.a"
 
 enum 
 {
@@ -205,7 +203,3 @@ extern uint8_t IPallbits[IPaddrlen];
 
 #define CLASS(p) ((*(uint8_t*)(p))>>6)
 
-#pragma	varargck	type	"I"	uchar*
-#pragma	varargck	type	"V"	uchar*
-#pragma	varargck	type	"E"	uchar*
-#pragma	varargck	type	"M"	uchar*

+ 0 - 2
sys/include/keyboard.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma src "/sys/src/libdraw"
-#pragma lib "libdraw.a"
 
 typedef struct 	Keyboardctl Keyboardctl;
 typedef struct	Channel	Channel;

+ 3 - 65
sys/include/libc.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	lib	"libc.a"
-#pragma	src	"/sys/src/libc"
 
 #define	nelem(x)	(sizeof(x)/sizeof((x)[0]))
 #define	offsetof(s, m)	(uintptr_t)(&(((s*)0)->m))
@@ -182,64 +180,7 @@ extern	char*	fmtstrflush(Fmt*);
 extern	int	runefmtstrinit(Fmt*);
 extern	Rune*	runefmtstrflush(Fmt*);
 
-#pragma	varargck	argpos	fmtprint	2
-#pragma	varargck	argpos	fprint		2
-#pragma	varargck	argpos	print		1
-#pragma	varargck	argpos	runeseprint	3
-#pragma	varargck	argpos	runesmprint	1
-#pragma	varargck	argpos	runesnprint	3
-#pragma	varargck	argpos	runesprint	2
-#pragma	varargck	argpos	seprint		3
-#pragma	varargck	argpos	smprint		1
-#pragma	varargck	argpos	snprint		3
-#pragma	varargck	argpos	sprint		2
-
-#pragma	varargck	type	"lld"	vlong
-#pragma	varargck	type	"llo"	vlong
-#pragma	varargck	type	"llx"	vlong
-#pragma	varargck	type	"llb"	vlong
-#pragma	varargck	type	"lld"	uvlong
-#pragma	varargck	type	"llo"	uvlong
-#pragma	varargck	type	"llx"	uvlong
-#pragma	varargck	type	"llb"	uvlong
-#pragma	varargck	type	"ld"	long
-#pragma	varargck	type	"lo"	long
-#pragma	varargck	type	"lx"	long
-#pragma	varargck	type	"lb"	long
-#pragma	varargck	type	"ld"	ulong
-#pragma	varargck	type	"lo"	ulong
-#pragma	varargck	type	"lx"	ulong
-#pragma	varargck	type	"lb"	ulong
-#pragma	varargck	type	"d"	int
-#pragma	varargck	type	"o"	int
-#pragma	varargck	type	"x"	int
-#pragma	varargck	type	"c"	int
-#pragma	varargck	type	"C"	int
-#pragma	varargck	type	"b"	int
-#pragma	varargck	type	"d"	uint
-#pragma	varargck	type	"x"	uint
-#pragma	varargck	type	"c"	uint
-#pragma	varargck	type	"C"	uint
-#pragma	varargck	type	"b"	uint
-#pragma	varargck	type	"f"	double
-#pragma	varargck	type	"e"	double
-#pragma	varargck	type	"g"	double
-#pragma	varargck	type	"s"	char*
-#pragma	varargck	type	"q"	char*
-#pragma	varargck	type	"S"	Rune*
-#pragma	varargck	type	"Q"	Rune*
-#pragma	varargck	type	"r"	void
-#pragma	varargck	type	"%"	void
-#pragma	varargck	type	"n"	int*
-#pragma	varargck	type	"p"	uintptr
-#pragma	varargck	type	"p"	void*
-#pragma	varargck	flag	','
-#pragma	varargck	flag	' '
-#pragma	varargck	flag	'h'
-#pragma varargck	type	"<"	void*
-#pragma varargck	type	"["	void*
-#pragma varargck	type	"H"	void*
-#pragma varargck	type	"lH"	void*
+
 
 extern	int	fmtinstall(int, int (*)(Fmt*));
 extern	int	dofmt(Fmt*, char*);
@@ -407,9 +348,7 @@ extern	uint32_t	strtoul(const char*, char**, int);
 extern	int64_t	strtoll(const char*, char**, int);
 extern	uint64_t	strtoull(const char*, char**, int);
 extern	void	sysfatal(const char*, ...);
-#pragma	varargck	argpos	sysfatal	1
-extern	void	syslog(int, char*, char*, ...);
-#pragma	varargck	argpos	syslog	3
+extern	void	syslog(int, const char*, const char*, ...);
 extern	int32_t	time(int32_t*);
 extern	int	tolower(int);
 extern	int	toupper(int);
@@ -730,8 +669,7 @@ extern	int	getpid(void);
 extern	int	getppid(void);
 extern	void	rerrstr(char*, uint);
 extern	char*	sysname(void);
-extern	void	werrstr(char*, ...);
-#pragma	varargck	argpos	werrstr	1
+extern	void	werrstr(const char*, ...);
 
 /* compiler directives on plan 9 */
 #define SET(x)  ((x)=0)

+ 0 - 2
sys/include/libsec.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	lib	"libsec.a"
-#pragma	src	"/sys/src/libsec"
 
 
 #ifndef _MPINT

+ 0 - 2
sys/include/mach.h

@@ -11,8 +11,6 @@
  *	Architecture-dependent application data
  */
 #include "a.out.h"
-#pragma	src	"/sys/src/libmach"
-#pragma	lib	"libmach.a"
 /*
  *	Supported architectures:
  *		mips,

+ 0 - 10
sys/include/memdraw.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	src	"/sys/src/libmemdraw"
-#pragma	lib	"libmemdraw.a"
 
 typedef struct	Memimage Memimage;
 typedef struct	Memdata Memdata;
@@ -17,7 +15,6 @@ typedef struct	Memlayer Memlayer;
 typedef struct	Memcmap Memcmap;
 typedef struct	Memdrawparam	Memdrawparam;
 
-#pragma incomplete Memlayer
 
 /*
  * Memdata is allocated from main pool, but .data from the image pool.
@@ -190,16 +187,9 @@ void		memimagemove(void*, void*);
  */
 extern void	rdb(void);
 extern int		iprint(char*, ...);
-#pragma varargck argpos iprint 1
 extern int		drawdebug;
 
 /*
  * doprint interface: numbconv bit strings
  */
-#pragma varargck type "llb" vlong
-#pragma varargck type "llb" uvlong
-#pragma varargck type "lb" long
-#pragma varargck type "lb" ulong
-#pragma varargck type "b" int
-#pragma varargck type "b" uint
 

+ 0 - 2
sys/include/memlayer.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma src "/sys/src/libmemlayer"
-#pragma lib "libmemlayer.a"
 
 typedef struct Memscreen Memscreen;
 typedef void (*Refreshfn)(Memimage*, Rectangle, void*);

+ 0 - 1
sys/include/mouse.h

@@ -7,7 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma src "/sys/src/libdraw"
 
 typedef struct	Channel Channel;
 typedef struct	Cursor Cursor;

+ 0 - 4
sys/include/mp.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	src	"/sys/src/libmp"
-#pragma	lib	"libmp.a"
 
 #define _MPINT 1
 
@@ -134,7 +132,6 @@ typedef struct CRTpre	CRTpre;		/* precomputed values for converting */
 					/*  twixt residues and mpint */
 typedef struct CRTres	CRTres;		/* residue form of an mpint */
 
-#pragma incomplete CRTpre
 
 struct CRTres
 {
@@ -149,4 +146,3 @@ void	crtprefree(CRTpre*);
 void	crtresfree(CRTres*);
 
 
-#pragma	varargck	type	"B"	mpint*

+ 0 - 2
sys/include/nfs3.h

@@ -11,8 +11,6 @@
  * NFS mounter V3;  see RFC 1813
  */
 
-#pragma lib "libsunrpc.a"
-#pragma src "/sys/src/libsunrpc"
 
 enum {
 	NfsMount1HandleSize = 32,

+ 0 - 10
sys/include/oventi.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	lib	"liboventi.a"
-#pragma	src	"/sys/src/liboventi"
 
 typedef struct VtSession	VtSession;
 typedef struct VtSha1		VtSha1;
@@ -19,11 +17,6 @@ typedef struct VtRoot		VtRoot;
 typedef struct VtEntry		VtEntry;
 typedef struct VtServerVtbl	VtServerVtbl;
 
-#pragma incomplete VtSession
-#pragma incomplete VtSha1
-#pragma incomplete Packet
-#pragma incomplete VtLock
-#pragma incomplete VtRendez
 
 enum {
 	VtScoreSize	= 20, /* Venti */
@@ -279,8 +272,5 @@ int vtFdWrite(int, uint8_t*, int);
  * V	a venti score
  * R	venti error
  */
-#pragma	varargck	type	"V"		uchar*
-#pragma	varargck	type	"R"		void
 
-#pragma	varargck	argpos	vtSetError	1
 

+ 0 - 2
sys/include/plumb.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	lib	"libplumb.a"
-#pragma	src	"/sys/src/libplumb"
 
 /*
  * Message format:

+ 0 - 2
sys/include/regexp.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	src	"/sys/src/libregexp"
-#pragma	lib	"libregexp.a"
 
 typedef struct Resub		Resub;
 typedef struct Reclass		Reclass;

+ 0 - 3
sys/include/scribble.h

@@ -7,10 +7,7 @@
  * in the LICENSE file.
  */
 
-#pragma src "/sys/src/libscribble"
-#pragma lib "libscribble.a"
 
-#pragma incomplete struct graffiti
 
 typedef struct Scribble Scribble;
 typedef struct graffiti Graffiti;

+ 0 - 2
sys/include/stdio.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	src	"/sys/src/libstdio"
-#pragma	lib	"libstdio.a"
 
 /*
  * pANS astdio.h

+ 0 - 4
sys/include/sunrpc.h

@@ -11,8 +11,6 @@
  * Sun RPC; see RFC 1057
  */
 
-#pragma lib "libsunrpc.a"
-#pragma src "/sys/src/libsunrpc"
 
 typedef uint8_t u1int;
 
@@ -184,8 +182,6 @@ void sunCallSetup(SunCall*, SunProg*, uint);
 /*
  * Formatting
  */
-#pragma varargck type "B" SunRpc*
-#pragma varargck type "C" SunCall*
 
 int	sunRpcFmt(Fmt*);
 int	sunCallFmt(Fmt*);

+ 0 - 1
sys/include/usb/audioctl.h

@@ -35,4 +35,3 @@ extern int buttonendpt;
 int	ctlparse(char *s, Audiocontrol *c, int32_t *v);
 void	ctlevent(void);
 
-#pragma	varargck	type	"A"	Audiocontrol*

+ 0 - 9
sys/include/venti.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma lib "libventi.a"
-#pragma src "/sys/src/libventi"
 
 
 /* XXX should be own library? */
@@ -21,7 +19,6 @@ enum
 };
 
 typedef struct Packet Packet;
-#pragma incomplete Packet
 
 Packet*	packetalloc(void);
 void	packetappend(Packet*, uint8_t *buf, int n);
@@ -205,10 +202,6 @@ int vtparsescore(char *s, char **prefix, uint8_t[VtScoreSize]);
  *
  * V	a venti score
  */
-#pragma	varargck	type	"V"	uchar*
-#pragma	varargck	type	"F"	VtFcall*
-#pragma	varargck	type	"T"	void
-#pragma	varargck	type	"lT"	void
 
 int vtscorefmt(Fmt*);
 
@@ -357,7 +350,6 @@ int	vtgoodbye(VtConn* z);
 
 /* server */
 typedef struct VtSrv VtSrv;
-#pragma incomplete VtSrv
 typedef struct VtReq VtReq;
 struct VtReq
 {
@@ -402,7 +394,6 @@ enum
 
 typedef struct VtBlock VtBlock;
 typedef struct VtCache VtCache;
-#pragma incomplete VtCache
 
 struct VtBlock
 {

+ 0 - 1
sys/lib/lex/ncform

@@ -1,4 +1,3 @@
-#pragma lib	"libl.a"
 int yylineno =1;
 # define YYU(x) x
 char yytext[YYLMAX];

+ 0 - 2
sys/man/2/fmtinstall

@@ -315,7 +315,6 @@ system calls to produce its output.
 .IP
 .EX
 .ta 6n +6n +6n +6n +6n +6n +6n +6n +6n
-#pragma	varargck	argpos	fatal	1
 .sp 0.3v
 void
 fatal(char *fmt, ...)
@@ -342,7 +341,6 @@ typedef struct {
 	double	r, i;
 } Complex;
 .sp 0.3v
-#pragma	varargck	type	"X"	Complex
 .sp 0.3v
 int
 Xfmt(Fmt *f)

+ 0 - 1
sys/src/9/amd64/dat.h

@@ -467,7 +467,6 @@ extern uintptr_t kseg0;
 extern char*rolename[];
 
 
-#pragma	varargck	type	"P"	uintmem
 
 /*
  * Horrid.

+ 0 - 1
sys/src/9/amd64/io.h

@@ -374,4 +374,3 @@ struct Pcidev
 #define ISAWINDOW	0
 #define ISAWADDR(va)	(PADDR(va)+ISAWINDOW)
 
-#pragma	varargck	type	"T"	int

+ 0 - 2
sys/src/9/port/edf.h

@@ -55,8 +55,6 @@ struct Edf {
 
 extern Lock	edftestlock;	/* for atomic admitting/expelling */
 
-#pragma	varargck	type	"t"		long
-#pragma	varargck	type	"U"		uint64_t
 
 /* Interface: */
 Edf*		edflock(Proc*);

+ 1 - 29
sys/src/9/port/lib.h

@@ -122,35 +122,7 @@ extern	int	snprint(char*, int, char*, ...);
 extern	int	vsnprint(char*, int, char*, va_list);
 extern	int	sprint(char*, char*, ...);
 
-#pragma	varargck	argpos	fmtprint	2
-#pragma	varargck	argpos	print		1
-#pragma	varargck	argpos	seprint		3
-#pragma	varargck	argpos	snprint		3
-#pragma	varargck	argpos	sprint		2
-
-#pragma	varargck	type	"lld"	int64_t
-#pragma	varargck	type	"llx"	int64_t
-#pragma	varargck	type	"lld"	uint64_t
-#pragma	varargck	type	"llx"	uint64_t
-#pragma	varargck	type	"ld"	long
-#pragma	varargck	type	"lx"	long
-#pragma	varargck	type	"ld"	uint32_t
-#pragma	varargck	type	"lx"	uint32_t
-#pragma	varargck	type	"d"	int
-#pragma	varargck	type	"x"	int
-#pragma	varargck	type	"c"	int
-#pragma	varargck	type	"C"	int
-#pragma	varargck	type	"d"	uint
-#pragma	varargck	type	"x"	uint
-#pragma	varargck	type	"c"	uint
-#pragma	varargck	type	"C"	uint
-#pragma	varargck	type	"s"	char*
-#pragma	varargck	type	"q"	char*
-#pragma	varargck	type	"S"	Rune*
-#pragma	varargck	type	"%"	void
-#pragma	varargck	type	"p"	uintptr
-#pragma	varargck	type	"p"	void*
-#pragma	varargck	flag	','
+
 
 extern	int	fmtinstall(int, int (*)(Fmt*));
 extern	int	fmtprint(Fmt*, char*, ...);

+ 0 - 13
sys/src/9/port/portdat.h

@@ -67,12 +67,6 @@ typedef struct Watermark Watermark;
 typedef struct Zseg	Zseg;
 typedef int    Devgen(Chan*, char*, Dirtab*, int, int, Dir*);
 
-#pragma incomplete DevConf
-#pragma incomplete Edf
-#pragma incomplete Mntcache
-#pragma incomplete Mntrpc
-#pragma incomplete Queue
-#pragma incomplete Timers
 
 #include <fcall.h>
 
@@ -780,7 +774,6 @@ union Ar0 {
 };
 
 typedef struct Nixpctl Nixpctl;
-#pragma incomplete Nixpctl
 
 struct Proc
 {
@@ -1195,9 +1188,3 @@ struct Fastcall {
 
 #define DEVDOTDOT -1
 
-#pragma	varargck	type	"I"	unsigned char*
-#pragma	varargck	type	"V"	unsigned char*
-#pragma	varargck	type	"E"	unsigned char*
-#pragma	varargck	type	"M"	unsigned char*
-#pragma	varargck	type	"W"	uint64_t
-#pragma	varargck	type	"Z"	Kzio*

+ 0 - 1
sys/src/9/riscv/dat.h

@@ -391,7 +391,6 @@ extern uintptr_t kseg0;
 extern char*rolename[];
 
 
-#pragma	varargck	type	"P"	uintmem
 
 /*
  * Horrid.

+ 0 - 3
sys/src/9/riscv/fns.h

@@ -277,12 +277,9 @@ static inline void __clobber_callee_regs(void)
 
 int slim_setlabel(Label*) __attribute__((returns_twice));
 
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
 
 #define setlabel(label) ({int err;                                                 \
                     __clobber_callee_regs();                               \
                     err = slim_setlabel(label);                                     \
                     err;})
 
-#pragma GCC diagnostic pop

+ 0 - 1
sys/src/cmd/acid/acid.h

@@ -20,7 +20,6 @@ enum
 	Mempergc	= 1024*1024,
 };
 
-#pragma varargck type "L"	void
 
 typedef struct Node	Node;
 typedef struct String	String;

+ 0 - 1
sys/src/cmd/aquarela/netbios.h

@@ -77,7 +77,6 @@ void nbnamecpy(NbName n1, NbName n2);
 void nbmknamefromstring(NbName nbname, char *string);
 void nbmknamefromstringandtype(NbName nbname, char *string, uchar type);
 void nbmkstringfromname(char *buf, int buflen, NbName name);
-#pragma varargck type "B" uchar *
 
 int nbnamefmt(Fmt *);
 

+ 0 - 2
sys/src/cmd/astro/astro.h

@@ -10,8 +10,6 @@
 #include	<u.h>
 #include	<libc.h>
 
-#pragma	varargck	type	"R"	double
-#pragma	varargck	type	"D"	double
 
 typedef	struct	Obj1	Obj1;
 typedef	struct	Obj2	Obj2;

+ 0 - 2
sys/src/cmd/auth/authcmdlib.h

@@ -7,7 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma lib "./lib.$O.a"
 
 enum{
 	PASSLEN		= 10,
@@ -74,4 +73,3 @@ void	succeed(char*);
 void	wrbio(char*, Acctbio*);
 int	writefile(char*, char*, int);
 
-#pragma	varargck	type	"K"	char*

+ 0 - 7
sys/src/cmd/auth/factotum/dat.h

@@ -18,7 +18,6 @@
 #include <fcall.h>
 #include <9p.h>
 
-#pragma varargck type "N" Attr*
 
 enum
 {
@@ -49,7 +48,6 @@ typedef struct Logbuf Logbuf;
 typedef struct Proto Proto;
 typedef struct State State;
 
-#pragma incomplete State
 
 
 struct Fsstate
@@ -168,7 +166,6 @@ extern	Keyring	*ring;
 
 /* log.c */
 void flog(char*, ...);
-#pragma varargck argpos flog 1
 void logread(Req*);
 void logflush(Req*);
 void logbufflush(Logbuf*, Req*);
@@ -195,9 +192,6 @@ int secstorefetch(char*);
 #define emalloc emalloc9p
 #define estrdup estrdup9p
 #define erealloc erealloc9p
-#pragma varargck argpos failure 2
-#pragma varargck argpos findkey 3
-#pragma varargck argpos setattr 2
 
 int		_authdial(char*, char*);
 void		askuser(char*);
@@ -207,7 +201,6 @@ void		closekey(Key*);
 unsigned char	*convAI2M(AuthInfo*, unsigned char*, int);
 void		disablekey(Key*);
 char		*estrappend(char*, char*, ...);
-#pragma varargck argpos estrappend 2
 int		failure(Fsstate*, char*, ...);
 Keyinfo*	mkkeyinfo(Keyinfo*, Fsstate*, Attr*);
 int		findkey(Key**, Keyinfo*, char*, ...);

+ 0 - 1
sys/src/cmd/auth/keyfs.c

@@ -20,7 +20,6 @@
 #include <libsec.h>
 #include "authcmdlib.h"
 
-#pragma	varargck	type	"W"	char*
 
 char authkey[8];
 

+ 0 - 1
sys/src/cmd/aux/flashfs/flashfs.h

@@ -167,7 +167,6 @@ extern	int	Jconv(Fmt*);
 extern	uint32_t	now(void);
 extern	void	serve(char*);
 
-#pragma	varargck	type	"J"	Jrec*
 
 extern	void	einit(void);
 extern	void	edump(void);

+ 0 - 1
sys/src/cmd/aux/gps/dat.h

@@ -13,7 +13,6 @@ struct Place {
 	double	lon;
 	double 	lat;
 };
-#pragma	varargck	type	"L"	Place
 
 enum {
 	Undef		= 0x80000000,

+ 0 - 3
sys/src/cmd/aux/realemu/fns.h

@@ -16,9 +16,6 @@ void trap(Cpu *cpu, int e);
 int intr(Cpu *cpu, int v);
 int xec(Cpu *cpu, int n);
 
-#pragma varargck type "I" Inst*
-#pragma varargck type "J" unsigned long
-#pragma varargck type "C" Cpu*
 
 int instfmt(Fmt *fmt);
 int flagfmt(Fmt *fmt);

+ 0 - 6
sys/src/cmd/cwfs/portdat.h

@@ -87,7 +87,6 @@ typedef	struct	Tm	Tm;
 typedef	struct	Uid	Uid;
 typedef	struct	Wpath	Wpath;
 
-#pragma incomplete Auth
 
 struct	Tag
 {
@@ -770,11 +769,6 @@ enum
 Conf	conf;
 Cons	cons;
 
-#pragma	varargck	type	"Z"	Device*
-#pragma	varargck	type	"T"	Timet
-#pragma	varargck	type	"I"	uchar*
-#pragma	varargck	type	"E"	uchar*
-#pragma	varargck	type	"G"	int
 
 extern char	*annstrs[];
 extern Biobuf	bin;

+ 0 - 2
sys/src/cmd/db/fns.h

@@ -94,5 +94,3 @@ int		term(int);
 void		ungrab(void);
 int		valpr(long, int);
 
-#pragma	varargck	argpos	dprint	1
-#pragma	varargck	type	"t"	void

+ 0 - 1
sys/src/cmd/dc.c

@@ -12,7 +12,6 @@
 #include <bio.h>
 
 typedef	void*	pointer;
-#pragma	varargck	type	"lx"	pointer
 
 #define FATAL 0
 #define NFATAL 1

+ 0 - 9
sys/src/cmd/disk/kfs/portfns.h

@@ -99,15 +99,6 @@ Tlock*	tlocked(Iobuf*, Dentry*);
 void	uidtostr(char*,int);
 void	uidtostr1(char*,int);
 
-#pragma varargck	argpos	cprint	1
-#pragma varargck	argpos	panic	1
 
-#pragma varargck	type	"C"	Chan*
-#pragma varargck	type	"D"	Device
-#pragma varargck	type 	"A"	Filta
-#pragma varargck	type	"G"	int
-#pragma varargck	type	"T"	int32_t
-#pragma varargck	type	"F"	Fcall*
 
 typedef struct Oldfcall Oldfcall;	/* needed for pragma */
-#pragma varargck	type	"O"	Oldfcall*

+ 0 - 1
sys/src/cmd/disk/prep/fdisk.c

@@ -50,7 +50,6 @@ static char 	*cmdokname(Edit*, char*);
 static char 	*cmdwrite(Edit*);
 static void	cmdprintctl(Edit*, int);
 
-#pragma varargck type "D" uchar*
 
 Edit edit = {
 	.add=	cmdadd,

+ 0 - 8
sys/src/cmd/disk/rd9660.c

@@ -18,12 +18,6 @@
 
 Biobuf *b;
 
-#pragma varargck type "s" uchar*
-#pragma varargck type "L" uchar*
-#pragma varargck type "B" uchar*
-#pragma varargck type "N" uchar*
-#pragma varargck type "T" uchar*
-#pragma varargck type "D" uchar*
 
 typedef struct Voldesc Voldesc;
 struct Voldesc {
@@ -110,7 +104,6 @@ struct Cdir {
 	uint8_t	namelen;
 	uint8_t	name[1];	/* chumminess */
 };
-#pragma varargck type "D" Cdir*
 
 int
 Dfmt(Fmt *fmt)
@@ -138,7 +131,6 @@ struct Path {
 	uint8_t	parent[2];
 	uint8_t	name[1];	/* chumminess */
 };
-#pragma varargck type "P" Path*
 
 int8_t longc, shortc;
 void

+ 0 - 1
sys/src/cmd/field.c

@@ -18,7 +18,6 @@ struct Slice {
 	char *begin;
 	char *end;
 };
-#pragma varargck type "S" Slice
 
 struct Slices {
 	uint len;

+ 0 - 1
sys/src/cmd/fossil/9user.c

@@ -30,7 +30,6 @@ struct User {
 	User*	nhash;			/* lookup by .uname */
 };
 
-#pragma varargck type "U"   User*
 
 struct Ubox {
 	User*	head;

+ 0 - 7
sys/src/cmd/fossil/flfmt9660.c

@@ -33,12 +33,6 @@ enum{
 	Blocksize = 2048,
 };
 
-#pragma varargck type "s" unsigned char*
-#pragma varargck type "L" unsigned char*
-#pragma varargck type "B" unsigned char*
-#pragma varargck type "N" unsigned char*
-#pragma varargck type "T" unsigned char*
-#pragma varargck type "D" unsigned char*
 
 typedef struct Voldesc Voldesc;
 struct Voldesc {
@@ -127,7 +121,6 @@ struct Cdir {
 	uint8_t	namelen;
 	uint8_t	name[1];	/* chumminess */
 };
-#pragma varargck type "D" Cdir*
 
 static int
 Dfmt(Fmt *fmt)

+ 0 - 1
sys/src/cmd/fossil/fns.h

@@ -112,4 +112,3 @@ void	snapSetTimes(Snap*, uint32_t, uint32_t, uint32_t);
 
 void	fsCheck(Fsck*);
 
-#pragma varargck type "L" Label*

+ 0 - 1
sys/src/cmd/htmlroff/a.h

@@ -154,4 +154,3 @@ extern	int		linepos;
 #define	runerealloc(r, n)	(Rune*)erealloc(r, (n)*sizeof(Rune))
 #define	runemove(a, b, n)	memmove(a, b, (n)*sizeof(Rune))
 
-#pragma varargck type "L" void

+ 0 - 1
sys/src/cmd/lex/ncform

@@ -1,4 +1,3 @@
-#pragma lib	"libl.a"
 int yylineno =1;
 # define YYU(x) x
 char yytext[YYLMAX];

+ 0 - 2
sys/src/cmd/map/map.h

@@ -7,8 +7,6 @@
  * in the LICENSE file.
  */
 
-#pragma	lib	"/sys/src/cmd/map/libmap/libmap.a$O"
-#pragma	src	"/sys/src/cmd/map/libmap"
 
 #ifndef PI
 #define PI	3.1415926535897932384626433832795028841971693993751

+ 0 - 1
sys/src/cmd/md5sum.c

@@ -12,7 +12,6 @@
 #include <bio.h>
 #include <libsec.h>
 
-#pragma	varargck	type	"M"	unsigned char*
 
 static int
 digestfmt(Fmt *fmt)

+ 0 - 3
sys/src/cmd/ndb/dns.h

@@ -460,8 +460,6 @@ extern char	*trace;
 extern int	traceactivity;
 extern char	*zonerefreshprogram;
 
-#pragma	varargck	type	"R"	RR*
-#pragma	varargck	type	"Q"	RR*
 
 
 /* dn.c */
@@ -567,4 +565,3 @@ int	convDNS2M(DNSmsg*, unsigned char*, int);
 /* convM2DNS.c */
 char*	convM2DNS(unsigned char*, int, DNSmsg*, int*);
 
-#pragma varargck argpos dnslog 1

+ 0 - 1
sys/src/cmd/ns.c

@@ -13,7 +13,6 @@
 #include <auth.h>
 #include <fcall.h>
 
-#pragma	varargck	type	"P"	char*
 
 int	nsrv;
 Dir	*srv;

+ 0 - 1
sys/src/cmd/paqfs/paqfs.c

@@ -150,7 +150,6 @@ char	Edirtoobig[] = 	"directory entry too big";
 
 int debug;
 
-#pragma varargck	type	"V"	uchar*
 
 static int
 sha1fmt(Fmt *f)

+ 0 - 1
sys/src/cmd/ratfs/main.c

@@ -48,7 +48,6 @@ int	trustedqid = Qtrustedfile;
 char	*ctlfile =	CTLFILE;
 char	*conffile =	CONFFILE;
 
-#pragma	varargck	type	"I"	Cidraddr*
 
 static	int	ipconv(Fmt*);
 static	void	post(int, char*);

+ 0 - 1
sys/src/cmd/sha1sum.c

@@ -15,7 +15,6 @@
 #include <bio.h>
 #include <libsec.h>
 
-#pragma	varargck	type	"M"	unsigned char*
 
 typedef struct Sha2 Sha2;
 struct Sha2 {

+ 0 - 2
sys/src/cmd/ssh1/scp.c

@@ -126,8 +126,6 @@ usage(void)
 }
 
 
-#pragma	varargck	type	"F"	int
-#pragma	varargck	type	"V"	char*
 static int flag;
 
 /* flag: if integer flag, take following char *value */

+ 0 - 2
sys/src/cmd/ssh2/netssh.h

@@ -12,7 +12,6 @@
 
 #define MYID "SSH-2.0-Plan9"
 
-#pragma varargck type "M" mpint*
 
 enum {
 	Server =	0,
@@ -150,7 +149,6 @@ typedef struct Packet Packet;
 typedef struct Plist Plist;
 typedef struct SSHChan SSHChan;
 
-#pragma incomplete CipherState
 
 struct Plist {
 	Packet	*pack;

+ 0 - 2
sys/src/cmd/trace.c

@@ -19,8 +19,6 @@
 #include <keyboard.h>
 #include "trace.h"
 
-#pragma	varargck	type	"t"		int64_t
-#pragma	varargck	type	"U"		uint64_t
 
 #define NS(x)	((int64_t)x)
 #define US(x)	(NS(x) * 1000ULL)

+ 0 - 1
sys/src/cmd/units.y

@@ -73,7 +73,6 @@ extern	int	yylex(void);
 extern	int	yyparse(void);
 
 typedef	Node*	indnode;
-#pragma	varargck	type	"U"	indnode
 
 %}
 %union

+ 0 - 1
sys/src/cmd/vac/unvac.c

@@ -11,7 +11,6 @@
 #include <fcall.h>	/* dirmodefmt */
 #include "vac.h"
 
-#pragma varargck type "t" ulong
 
 VacFs *fs;
 int tostdout;

+ 0 - 2
sys/src/cmd/venti/devnull.c

@@ -15,8 +15,6 @@
 #include <libsec.h>
 
 #ifndef _UNISTD_H_
-#pragma varargck type "F" VtFcall*
-#pragma varargck type "T" void
 #endif
 
 int verbose;

+ 0 - 2
sys/src/cmd/venti/ro.c

@@ -15,8 +15,6 @@
 #include <libsec.h>
 
 #ifndef _UNISTD_H_
-#pragma varargck type "F" VtFcall*
-#pragma varargck type "T" void
 #endif
 
 VtConn *z;

+ 0 - 2
sys/src/cmd/venti/srv/dat.h

@@ -38,7 +38,6 @@ typedef struct ZBlock		ZBlock;
 typedef struct Round	Round;
 typedef struct Bloom	Bloom;
 
-#pragma incomplete IEStream
 
 #define	TWID32	((uint32_t)~(uint32_t)0)
 #define	TWID64	((uint64_t)~(uint64_t)0)
@@ -761,7 +760,6 @@ extern	int	nstathist;
 extern	uint32_t	stattime;
 
 #ifndef PLAN9PORT
-#pragma varargck type "V" unsigned char*
 #define ODIRECT 0
 #endif
 

+ 0 - 2
sys/src/cmd/vnc/vncs.c

@@ -79,9 +79,7 @@ static void vncaccept(Vncs*);
 static int vncsfmt(Fmt*);
 static void getremote(char*, char*);
 static void vncname(char*, ...);
-#pragma varargck argpos vncname 1
 
-#pragma varargck type "V" Vncs*
 
 void
 usage(void)

+ 0 - 2
sys/src/cmd/webcookies.c

@@ -84,8 +84,6 @@ struct {
 	"netscapestyle",	offsetof(Cookie, netscapestyle),
 };
 
-#pragma varargck type "J"	Jar*
-#pragma varargck type "K"	Cookie*
 
 /* HTTP format */
 int

+ 0 - 2
sys/src/cmd/webfs/cookies.c

@@ -81,8 +81,6 @@ struct {
 	"netscapestyle",	offsetof(Cookie, netscapestyle),
 };
 
-#pragma varargck type "J"	Jar*
-#pragma varargck type "K"	Cookie*
 
 /* HTTP format */
 static int