Quellcode durchsuchen

[Components][pipe]暴露 rt_pipe_delete 接口

zyh vor 7 Jahren
Ursprung
Commit
b3eaf17e19
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      components/drivers/include/ipc/pipe.h

+ 1 - 1
components/drivers/include/ipc/pipe.h

@@ -32,5 +32,5 @@ struct rt_pipe_device
 typedef struct rt_pipe_device rt_pipe_t;
 
 rt_pipe_t *rt_pipe_create(const char *name, int bufsz);
-
+int rt_pipe_delete(const char *name);
 #endif /* PIPE_H__ */