diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2003-08-25 00:05:26 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2003-08-25 00:05:26 +0000 |
commit | d6de6f8b7014abcb20977d3c6d2aedb4c62ed2fb (patch) | |
tree | 6739fbaff7735ec8d55b2cd166529dfa591b793b /audio/xcdplayer/files/patch-button__setup.c | |
parent | From the maintainer: (diff) |
* Bring us into the 64-bit world.
Obtained from: NetBSD
* Use CDROM devices also available on 5.x.
Notes
Notes:
svn path=/head/; revision=87625
Diffstat (limited to 'audio/xcdplayer/files/patch-button__setup.c')
-rw-r--r-- | audio/xcdplayer/files/patch-button__setup.c | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/audio/xcdplayer/files/patch-button__setup.c b/audio/xcdplayer/files/patch-button__setup.c new file mode 100644 index 000000000000..b00d12201e3d --- /dev/null +++ b/audio/xcdplayer/files/patch-button__setup.c @@ -0,0 +1,65 @@ + +$FreeBSD$ + +--- button_setup.c.orig Tue Jan 12 19:59:47 1993 ++++ button_setup.c Mon Aug 25 00:38:35 2003 +@@ -20,6 +20,9 @@ + # include <X11/Xaw/Toggle.h> + + # include "cdrom_globs.h" ++#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) ++# include "cdrom_freebsd.h" ++#endif + #ifdef sun + # include "cdrom_sun.h" + #endif +@@ -44,6 +47,23 @@ + # include "ff.xbm" + # include "pgm.xbm" + ++void title_dialog_setup(); ++static void play_button_setup(); ++static void stop_button_setup(); ++static void pause_button_setup(); ++static void prev_button_setup(); ++static void next_button_setup(); ++static void eject_button_setup(); ++#ifdef sgi ++void audio_button_setup(); ++#endif ++static void quit_button_setup(); ++static void cycle_button_setup(); ++static void shuffle_button_setup(); ++static void rew_button_setup(); ++static void ff_button_setup(); ++static void pgm_button_setup(); ++void buttons_reset(); + + static Widget buttons_form_widget; + static Widget play_button_widget; +@@ -71,25 +91,6 @@ + Widget parent_widget; + { + Arg args[1]; +- +- extern void title_dialog_setup(); +- extern void play_button_setup(); +- extern void stop_button_setup(); +- extern void pause_button_setup(); +- extern void prev_button_setup(); +- extern void next_button_setup(); +- extern void eject_button_setup(); +-#ifdef sgi +- extern void audio_button_setup(); +-#endif +- extern void quit_button_setup(); +- extern void cycle_button_setup(); +- extern void shuffle_button_setup(); +- extern void rew_button_setup(); +- extern void ff_button_setup(); +- extern void pgm_button_setup(); +- extern void buttons_reset(); +- + + buttons_form_widget = XtCreateManagedWidget("buttonsForm", + formWidgetClass, |