diff options
Diffstat (limited to 'winsup/mingw/samples/test/test.c')
-rw-r--r-- | winsup/mingw/samples/test/test.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/winsup/mingw/samples/test/test.c b/winsup/mingw/samples/test/test.c index af8884c9c..82ca6b0fc 100644 --- a/winsup/mingw/samples/test/test.c +++ b/winsup/mingw/samples/test/test.c @@ -1,20 +1,20 @@ -/*
- * This source code is in the PUBLIC DOMAIN and has NO WARRANTY.
- *
- * Colin Peters <colin@bird.fu.is.saga-u.ac.jp>, April 15, 1997.
- */
-
-#include <windows.h>
-#include <stdio.h>
-
-int STDCALL
-WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow)
-{
- char text[80];
-
- printf ("Enter message box text:");
- fgets(text, 80, stdin);
- MessageBox (NULL, text, "Test", MB_OK);
- printf ("\nHello after message box.\n");
- return 0;
-}
+/* + * This source code is in the PUBLIC DOMAIN and has NO WARRANTY. + * + * Colin Peters <colin@bird.fu.is.saga-u.ac.jp>, April 15, 1997. + */ + +#include <windows.h> +#include <stdio.h> + +int STDCALL +WinMain (HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpCmd, int nShow) +{ + char text[80]; + + printf ("Enter message box text:"); + fgets(text, 80, stdin); + MessageBox (NULL, text, "Test", MB_OK); + printf ("\nHello after message box.\n"); + return 0; +} |