Explorar el Código

fix: httpsrv,函数声明少了一个

Wendal Chen hace 10 meses
padre
commit
ec5693b6bf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      components/network/httpsrv/inc/luat_httpsrv.h

+ 1 - 1
components/network/httpsrv/inc/luat_httpsrv.h

@@ -60,7 +60,7 @@ static const ct_reg_t ct_regs[] = {
     {"bin",     "application/octet-stream"},
 };
 
+luat_httpsrv_ctx_t* luat_httpsrv_malloc(int port, int adapter_index);
 int luat_httpsrv_start(luat_httpsrv_ctx_t* ctx);
 int luat_httpsrv_free(luat_httpsrv_ctx_t* ctx);
 int luat_httpsrv_stop(luat_httpsrv_ctx_t* ctx);
-int luat_httpsrv_start(luat_httpsrv_ctx_t* ctx);