summaryrefslogtreecommitdiffstats
path: root/Bachelor/Mikroprozessorsysteme2/ARM202U/EXAMPLES/UNUSED
diff options
context:
space:
mode:
Diffstat (limited to 'Bachelor/Mikroprozessorsysteme2/ARM202U/EXAMPLES/UNUSED')
-rw-r--r--Bachelor/Mikroprozessorsysteme2/ARM202U/EXAMPLES/UNUSED/UNUSED.C14
1 files changed, 14 insertions, 0 deletions
diff --git a/Bachelor/Mikroprozessorsysteme2/ARM202U/EXAMPLES/UNUSED/UNUSED.C b/Bachelor/Mikroprozessorsysteme2/ARM202U/EXAMPLES/UNUSED/UNUSED.C
new file mode 100644
index 0000000..8e9ec27
--- /dev/null
+++ b/Bachelor/Mikroprozessorsysteme2/ARM202U/EXAMPLES/UNUSED/UNUSED.C
@@ -0,0 +1,14 @@
+#include <stdio.h>
+
+void unused_function(void)
+{
+ printf("This function used to do something useful, but is now no longer called\n");
+}
+
+int main(void)
+{
+ printf("We used to call 'unused_function' here.\n");
+#if 0
+ unused_function();
+#endif
+}