diff options
Diffstat (limited to 'com32/samples')
-rw-r--r-- | com32/samples/Makefile | 2 | ||||
-rw-r--r-- | com32/samples/fancyhello.c | 2 | ||||
-rw-r--r-- | com32/samples/hello.c | 4 | ||||
-rw-r--r-- | com32/samples/keytest.c | 6 | ||||
-rw-r--r-- | com32/samples/resolv.c | 4 |
5 files changed, 9 insertions, 9 deletions
diff --git a/com32/samples/Makefile b/com32/samples/Makefile index 709f4ca8..bce7ca3d 100644 --- a/com32/samples/Makefile +++ b/com32/samples/Makefile @@ -1,6 +1,6 @@ #ident "$Id$" ## ----------------------------------------------------------------------- -## +## ## Copyright 2001-2004 H. Peter Anvin - All Rights Reserved ## ## This program is free software; you can redistribute it and/or modify diff --git a/com32/samples/fancyhello.c b/com32/samples/fancyhello.c index d1323cbf..c0c908dc 100644 --- a/com32/samples/fancyhello.c +++ b/com32/samples/fancyhello.c @@ -1,7 +1,7 @@ #ident "$Id$" /* ----------------------------------------------------------------------- * - * + * * Copyright 2004 H. Peter Anvin - All Rights Reserved * * This program is free software; you can redistribute it and/or modify diff --git a/com32/samples/hello.c b/com32/samples/hello.c index 4fbc1022..3cb5c8f2 100644 --- a/com32/samples/hello.c +++ b/com32/samples/hello.c @@ -1,6 +1,6 @@ #ident "$Id$" /* ----------------------------------------------------------------------- * - * + * * Copyright 2004 H. Peter Anvin - All Rights Reserved * * This program is free software; you can redistribute it and/or modify @@ -36,6 +36,6 @@ int main(void) break; printf(": %s", buffer); } - + return 0; } diff --git a/com32/samples/keytest.c b/com32/samples/keytest.c index 0433201e..d6a5c92b 100644 --- a/com32/samples/keytest.c +++ b/com32/samples/keytest.c @@ -1,6 +1,6 @@ #ident "$Id$" /* ----------------------------------------------------------------------- * - * + * * Copyright 2004 H. Peter Anvin - All Rights Reserved * * This program is free software; you can redistribute it and/or modify @@ -40,7 +40,7 @@ static void cooked_keys(void) exit(0); } else if ( key == '?' ) return; - + if ( key >= 0x20 && key < 0x100 ) { putchar(key); } else { @@ -63,7 +63,7 @@ static void raw_keys(void) exit(0); } else if ( key == '!' ) return; - + printf("<%02x>", key); } } diff --git a/com32/samples/resolv.c b/com32/samples/resolv.c index c82a974f..a0bb9e5a 100644 --- a/com32/samples/resolv.c +++ b/com32/samples/resolv.c @@ -1,6 +1,6 @@ #ident "$Id$" /* ----------------------------------------------------------------------- * - * + * * Copyright 2004 H. Peter Anvin - All Rights Reserved * * This program is free software; you can redistribute it and/or modify @@ -62,6 +62,6 @@ int main(int argc, char *argv[]) } else { printf("%s not found\n", argv[1]); } - + return 0; } |