Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / audio / xcdplayer / patches / patch-ad
blob85d03944bf54b83cf3a52c4ffb9456bc8188e2e2
1 $NetBSD: patch-ad,v 1.3 1999/09/06 16:37:42 tron Exp $
3 --- button_setup.c.orig Tue Jan 12 19:59:47 1993
4 +++ button_setup.c      Mon Sep  6 18:37:05 1999
5 @@ -20,6 +20,9 @@
6  # include <X11/Xaw/Toggle.h>
7  
8  # include "cdrom_globs.h"
9 +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
10 +# include "cdrom_freebsd.h"
11 +#endif
12  #ifdef sun
13  # include "cdrom_sun.h"
14  #endif
15 @@ -44,6 +47,23 @@
16  # include "ff.xbm"
17  # include "pgm.xbm"
19 +void     title_dialog_setup();
20 +static void     play_button_setup();
21 +static void     stop_button_setup();
22 +static void     pause_button_setup();
23 +static void     prev_button_setup();
24 +static void     next_button_setup();
25 +static void     eject_button_setup();
26 +#ifdef sgi
27 +void     audio_button_setup();
28 +#endif
29 +static void     quit_button_setup();
30 +static void     cycle_button_setup();
31 +static void     shuffle_button_setup();
32 +static void     rew_button_setup();
33 +static void     ff_button_setup();
34 +static void     pgm_button_setup();
35 +void     buttons_reset();
37  static Widget  buttons_form_widget;
38  static Widget  play_button_widget;
39 @@ -71,25 +91,6 @@
40         Widget          parent_widget;
41  {
42         Arg             args[1];
44 -       extern void     title_dialog_setup();
45 -       extern void     play_button_setup();
46 -       extern void     stop_button_setup();
47 -       extern void     pause_button_setup();
48 -       extern void     prev_button_setup();
49 -       extern void     next_button_setup();
50 -       extern void     eject_button_setup();
51 -#ifdef sgi
52 -       extern void     audio_button_setup();
53 -#endif
54 -       extern void     quit_button_setup();
55 -       extern void     cycle_button_setup();
56 -       extern void     shuffle_button_setup();
57 -       extern void     rew_button_setup();
58 -       extern void     ff_button_setup();
59 -       extern void     pgm_button_setup();
60 -       extern void     buttons_reset();
63         buttons_form_widget = XtCreateManagedWidget("buttonsForm",
64                                                     formWidgetClass,