diff mbox series

[4/4] doc: add header for flow simplification related documentation

Message ID 20201114102356.61234-5-luc.vanoostenryck@gmail.com (mailing list archive)
State Mainlined, archived
Headers show
Series doc: one patch and three improvements | expand

Commit Message

Luc Van Oostenryck Nov. 14, 2020, 10:23 a.m. UTC
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
 Documentation/api.rst | 1 +
 flow.c                | 7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/Documentation/api.rst b/Documentation/api.rst
index 0cc830165e70..22b7dfd221fd 100644
--- a/Documentation/api.rst
+++ b/Documentation/api.rst
@@ -26,4 +26,5 @@  Optimization
 ~~~~~~~~~~~~
 
 .. c:autodoc:: optimize.c
+.. c:autodoc:: flow.c
 .. c:autodoc:: simplify.c
diff --git a/flow.c b/flow.c
index a74769c37659..f55ab1deae0c 100644
--- a/flow.c
+++ b/flow.c
@@ -1,10 +1,11 @@ 
 /*
- * Flow - walk the linearized flowgraph, simplifying it as we
- * go along.
- *
  * Copyright (C) 2004 Linus Torvalds
  */
 
+///
+// Flow simplification
+// -------------------
+
 #include <string.h>
 #include <stdarg.h>
 #include <stdlib.h>