1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/audio/xcd/files/patch-cdplayer.cc
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

21 lines
525 B
C++

--- cdplayer.cc.orig 1999-02-02 23:28:24 UTC
+++ cdplayer.cc
@@ -29,7 +29,7 @@ private:
public:
button (char *s) {state=0; strcpy (name, s);}
~button () {}
- set (int i) {
+ void set (int i) {
if (state != i) {
state = i;
if (state == 0)
@@ -90,7 +90,7 @@ button play_button ("play"), pause_butt
#define S(t) toc_buffer[t].addr.msf.second
#define F(t) toc_buffer[t].addr.msf.frame
-main (int argc, char **argv)
+int main (int argc, char **argv)
{
char dev[20], line[50];
int i;