diff options
author | jkh <jkh@FreeBSD.org> | 1996-04-07 03:21:01 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-04-07 03:21:01 +0000 |
commit | 5b2f267378def666de15817d75c7d73d1de9a634 (patch) | |
tree | 68404af9e77b56a199a395604cb53e25c9a18191 /gnu | |
parent | efe563179744270d740ca9248b31702a6cb2a9a9 (diff) | |
download | FreeBSD-src-5b2f267378def666de15817d75c7d73d1de9a634.zip FreeBSD-src-5b2f267378def666de15817d75c7d73d1de9a634.tar.gz |
Strive for a little more consistency with my examples.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/lib/libdialog/TESTS/check1.c | 4 | ||||
-rw-r--r-- | gnu/lib/libdialog/TESTS/menu1.c | 4 | ||||
-rw-r--r-- | gnu/lib/libdialog/TESTS/menu2.c | 4 | ||||
-rw-r--r-- | gnu/lib/libdialog/TESTS/menu3.c | 4 | ||||
-rw-r--r-- | gnu/lib/libdialog/TESTS/radio1.c | 4 | ||||
-rw-r--r-- | gnu/lib/libdialog/TESTS/radio2.c | 4 | ||||
-rw-r--r-- | gnu/lib/libdialog/TESTS/radio3.c | 4 |
7 files changed, 14 insertions, 14 deletions
diff --git a/gnu/lib/libdialog/TESTS/check1.c b/gnu/lib/libdialog/TESTS/check1.c index 4e83014..b66f48b 100644 --- a/gnu/lib/libdialog/TESTS/check1.c +++ b/gnu/lib/libdialog/TESTS/check1.c @@ -13,7 +13,7 @@ * the author assume any responsibility for damages incurred with * its use. * - * $Id: test1.c,v 1.2 1995/12/23 14:53:07 jkh Exp $ + * $Id: check1.c,v 1.1 1996/01/01 03:45:22 jkh Exp $ */ #include <stdio.h> @@ -73,7 +73,7 @@ main(int argc, unsigned char *argv[]) retval = dialog_checklist("this is a dialog_checklist() in action, test #1", "this checklist menu shows off some of the straight-forward features\n" - "of the new menu system's check & fire dispatch hooks", -1, -1, 4, -4, &menu2, NULL); + "of the new menu system's check & fire dispatch hooks", -1, -1, 4, -4, menu2, NULL); dialog_clear(); fprintf(stderr, "returned value for dialog_checklist was %d (%d %d %d)\n", retval, german_book, italian_book, slang_book); diff --git a/gnu/lib/libdialog/TESTS/menu1.c b/gnu/lib/libdialog/TESTS/menu1.c index 2868e32..bbab588 100644 --- a/gnu/lib/libdialog/TESTS/menu1.c +++ b/gnu/lib/libdialog/TESTS/menu1.c @@ -13,7 +13,7 @@ * the author assume any responsibility for damages incurred with * its use. * - * $Id: test1.c,v 1.2 1995/12/23 14:53:07 jkh Exp $ + * $Id: menu1.c,v 1.1 1996/01/01 03:45:26 jkh Exp $ */ #include <stdio.h> @@ -107,7 +107,7 @@ main(int argc, unsigned char *argv[]) retval = dialog_menu("this is dialog_menu() in action, test #1", "this simple menu shows off some of the straight-forward features\n" "of the new menu system's action dispatch hooks. Select Cancel to leave", - -1, -1, 3, -3, &menu1, NULL, NULL, NULL); + -1, -1, 3, -3, menu1, NULL, NULL, NULL); dialog_clear(); fprintf(stderr, "returned value for dialog_menu was %d\n", retval); diff --git a/gnu/lib/libdialog/TESTS/menu2.c b/gnu/lib/libdialog/TESTS/menu2.c index b4e510b..de09238 100644 --- a/gnu/lib/libdialog/TESTS/menu2.c +++ b/gnu/lib/libdialog/TESTS/menu2.c @@ -13,7 +13,7 @@ * the author assume any responsibility for damages incurred with * its use. * - * $Id: test1.c,v 1.2 1995/12/23 14:53:07 jkh Exp $ + * $Id: menu2.c,v 1.1 1996/01/01 03:45:26 jkh Exp $ */ #include <stdio.h> @@ -110,7 +110,7 @@ main(int argc, unsigned char *argv[]) "this simple menu shows off some of the straight-forward features\n" "of the new menu system's action dispatch hooks as well as a helpline\n" "and a helpfile. Select Cancel to leave", - -1, -1, 3, -3, &menu1, NULL, NULL, NULL); + -1, -1, 3, -3, menu1, NULL, NULL, NULL); dialog_clear(); fprintf(stderr, "returned value for dialog_menu was %d\n", retval); diff --git a/gnu/lib/libdialog/TESTS/menu3.c b/gnu/lib/libdialog/TESTS/menu3.c index 66a3e7a..5b291b0 100644 --- a/gnu/lib/libdialog/TESTS/menu3.c +++ b/gnu/lib/libdialog/TESTS/menu3.c @@ -13,7 +13,7 @@ * the author assume any responsibility for damages incurred with * its use. * - * $Id: test1.c,v 1.2 1995/12/23 14:53:07 jkh Exp $ + * $Id: menu3.c,v 1.1 1996/01/01 03:45:27 jkh Exp $ */ #include <stdio.h> @@ -101,7 +101,7 @@ main(int argc, unsigned char *argv[]) retval = dialog_menu("Do you have the GUTS?", "C'mon, macho man! Do you have what it takes to do something REALLY\n" "dangerous and stupid? WHAT ARE YOU WAITING FOR?!", - -1, -1, 3, -3, &doit, NULL, NULL, NULL); + -1, -1, 3, -3, doit, NULL, NULL, NULL); dialog_clear(); fprintf(stderr, "returned value for dialog_menu was %d\n", retval); diff --git a/gnu/lib/libdialog/TESTS/radio1.c b/gnu/lib/libdialog/TESTS/radio1.c index 514b264..bee0fb6 100644 --- a/gnu/lib/libdialog/TESTS/radio1.c +++ b/gnu/lib/libdialog/TESTS/radio1.c @@ -13,7 +13,7 @@ * the author assume any responsibility for damages incurred with * its use. * - * $Id: test1.c,v 1.2 1995/12/23 14:53:07 jkh Exp $ + * $Id: radio1.c,v 1.1 1996/01/01 03:45:29 jkh Exp $ */ #include <stdio.h> @@ -61,7 +61,7 @@ main(int argc, unsigned char *argv[]) retval = dialog_radiolist("this is dialog_radiolist() in action, test #1", "this radio menu shows off some of the straight-forward features\n" - "of the new menu system's check & fire dispatch hooks", -1, -1, 3, -3, &menu5, NULL); + "of the new menu system's check & fire dispatch hooks", -1, -1, 3, -3, menu5, NULL); dialog_clear(); fprintf(stderr, "returned value for dialog_radiolist was %d (money set to %d)\n", retval, spending); diff --git a/gnu/lib/libdialog/TESTS/radio2.c b/gnu/lib/libdialog/TESTS/radio2.c index 54d2475..665f686 100644 --- a/gnu/lib/libdialog/TESTS/radio2.c +++ b/gnu/lib/libdialog/TESTS/radio2.c @@ -13,7 +13,7 @@ * the author assume any responsibility for damages incurred with * its use. * - * $Id: test1.c,v 1.2 1995/12/23 14:53:07 jkh Exp $ + * $Id: radio2.c,v 1.1 1996/01/01 03:45:29 jkh Exp $ */ #include <stdio.h> @@ -79,7 +79,7 @@ main(int argc, unsigned char *argv[]) "Welcome to \"The Love Blender!\" - America's favorite game show\n" "where YOU, the contestant, get to choose which of these two\n" "fine specimens of humanity will go home together, whether they\n" - "like it or not!", -1, -1, 7, -7, &menu6, NULL); + "like it or not!", -1, -1, 7, -7, menu6, NULL); dialog_clear(); fprintf(stderr, "I'm sure that %s and %s will be very happy together!\n", bachelor, bachelette); diff --git a/gnu/lib/libdialog/TESTS/radio3.c b/gnu/lib/libdialog/TESTS/radio3.c index 87e889b..7ec2061 100644 --- a/gnu/lib/libdialog/TESTS/radio3.c +++ b/gnu/lib/libdialog/TESTS/radio3.c @@ -13,7 +13,7 @@ * the author assume any responsibility for damages incurred with * its use. * - * $Id: test1.c,v 1.2 1995/12/23 14:53:07 jkh Exp $ + * $Id: radio3.c,v 1.1 1996/01/01 03:45:30 jkh Exp $ */ #include <stdio.h> @@ -88,7 +88,7 @@ main(int argc, unsigned char *argv[]) "controls at different locations, as well as the `selected' hook which\n" "lets you follow the traversal of the selection bar as well as what's\n" "selected.", - -1, -1, 3, -3, &menu5, NULL); + -1, -1, 3, -3, menu5, NULL); dialog_clear(); fprintf(stderr, "returned value for dialog_radiolist was %d (money set to %d)\n", retval, spending); |