summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@intec.ugent.be>2016-02-26 15:02:23 +0100
committerDimitri Staessens <dimitri.staessens@intec.ugent.be>2016-02-26 15:02:23 +0100
commit5ed07e6935a73bd54dd31c96afdf478a42d70ea1 (patch)
tree1de8f84b41c610813548c2167dff8dd77992edf2
parentbb1d3fd141c33a98137edd9261a9adb9ea1d3753 (diff)
downloadouroboros-5ed07e6935a73bd54dd31c96afdf478a42d70ea1.tar.gz
ouroboros-5ed07e6935a73bd54dd31c96afdf478a42d70ea1.zip
doc: workflow updated for consistency
-rw-r--r--doc/workflow.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/workflow.txt b/doc/workflow.txt
index 02d13f64..0f59b4bf 100644
--- a/doc/workflow.txt
+++ b/doc/workflow.txt
@@ -23,18 +23,14 @@ int *a;
- Don't explicitly cast malloc, but do
-your * = malloc (sizeof *your * len);
-
-or
-
your * = malloc (sizeof (*your) * len);
+or
+your * = malloc (sizeof *your * len);
- When checking for invalid pointers use
if (ptr == NULL)
-
instead of
-
if (!ptr)
3. Development workflow