Browse Source

Move prototype of checkdc into portfns.h

Signed-off-by: golubovsky <golubovsky@gmail.com>
golubovsky 7 years ago
parent
commit
edb52d3f17
2 changed files with 1 additions and 2 deletions
  1. 0 2
      sys/src/9/port/chan.c
  2. 1 0
      sys/src/9/port/portfns.h

+ 0 - 2
sys/src/9/port/chan.c

@@ -14,8 +14,6 @@
 #include	"fns.h"
 #include	"../port/error.h"
 
-int checkdc(int dc);
-
 enum
 {
 	PATHSLOP	= 20,

+ 1 - 0
sys/src/9/port/portfns.h

@@ -61,6 +61,7 @@ void		copypage(Page*, Page*);
 void		cunmount(Chan*, Chan*);
 Segment*	data2txt(Segment*);
 uintptr_t		dbgpc(Proc*);
+int 		checkdc(int dc);
 int		decrypt(void*, void*, int);
 void		delay(int);
 Proc*		dequeueproc(Sched*, Schedq*, Proc*);