Browse Source

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

Wendal Chen 9 months ago
parent
commit
ec5693b6bf
1 changed files with 1 additions and 1 deletions
  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);