projects
/
pdp11-modern-c
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated hello.c from putch() to printf().
[pdp11-modern-c]
/
hello.c
diff --git
a/hello.c
b/hello.c
index
8c52dc9
..
9309eb6
100644
(file)
--- a/
hello.c
+++ b/
hello.c
@@
-7,18
+7,5
@@
void
hello(void)
{
wait(01000);
hello(void)
{
wait(01000);
- putch('H');
- putch('e');
- putch('l');
- putch('l');
- putch('o');
- putch(',');
- putch(' ');
- putch('W');
- putch('o');
- putch('r');
- putch('l');
- putch('d');
- putch('!');
- putch('\n');
+ printf("Hello, World!\n");
}
}