summaryrefslogtreecommitdiff
path: root/zola/content/articles/safer-pointers.md
diff options
context:
space:
mode:
Diffstat (limited to 'zola/content/articles/safer-pointers.md')
-rw-r--r--zola/content/articles/safer-pointers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/zola/content/articles/safer-pointers.md b/zola/content/articles/safer-pointers.md
index bbefdad..1a1b55e 100644
--- a/zola/content/articles/safer-pointers.md
+++ b/zola/content/articles/safer-pointers.md
@@ -5,7 +5,6 @@ date = 2024-11-26
authors = ["Nicolás Dato"]
[taxonomies]
-Categories=["Software Development"]
Tags=["C", "Patterns", "Pointers"]
+++
@@ -21,6 +20,7 @@ To reduce errors, and make them safer to use, I propose the following 4 tips:
4. Every time a pointer is passed to another function, deciding who *owns* the pointer
### Example
+
```C
#include <stdio.h>
#include <stdlib.h>