aboutsummaryrefslogtreecommitdiffstats
path: root/src/standalone/upg7
diff options
context:
space:
mode:
authorFilip Strömbäck <fstromback@gmail.com>2021-03-16 13:01:32 +0100
committerFilip Strömbäck <fstromback@gmail.com>2021-03-16 13:01:32 +0100
commitb7002c53057d4ae049237786d26f00a762dbc2ea (patch)
treef13985eaafedba1d64a6aa835bf93392186d0164 /src/standalone/upg7
parentcda174afc8e1bf6b779726965f5eaa030d80b1dc (diff)
downloadpintos-rs-b7002c53057d4ae049237786d26f00a762dbc2ea.tar.gz
Updated names in standalone/ to match new lab numbering.
Diffstat (limited to 'src/standalone/upg7')
-rw-r--r--src/standalone/upg7/debug.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/standalone/upg7/debug.c b/src/standalone/upg7/debug.c
deleted file mode 100644
index d6a3707..0000000
--- a/src/standalone/upg7/debug.c
+++ /dev/null
@@ -1,27 +0,0 @@
-#include <stdio.h>
-
-int main()
-{
- char str[] = "sihtgubed";
- char *stri = &str[8];
- char *buf[9];
- char **bufi, **bufend;
- bufi = buf;
- bufend = &buf[9];
-
- while (bufi != bufend){
- *bufi = stri;
- bufi++;
- stri--;
- }
-
- while (bufi != buf){
- *(*bufi) -= 32;
- bufi--;
- }
-
- while (bufi != bufend){
- printf("%c", **bufi);
- bufi++;
- }
-}