summaryrefslogtreecommitdiff
path: root/audio/xcdplayer/patches/patch-ag
blob: 1ed2f044052cf536e692b06971f9c4ec641edd8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
$NetBSD: patch-ag,v 1.1 1998/08/23 06:49:29 garbled Exp $
*** button_setup.c	Tue Jan 12 10:59:47 1993
--- /users/swallace/work/xcdplayer/button_setup.c	Wed Feb 23 07:36:36 1994
***************
*** 20,25 ****
--- 20,28 ----
  # 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,49 ****
--- 47,69 ----
  # 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,95 ****
  	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,
--- 91,96 ----