openbsd-ports/audio/xmmix/patches/patch-main_c

22 lines
530 B
Plaintext

$OpenBSD: patch-main_c,v 1.2 2002/01/17 15:18:07 naddy Exp $
--- main.c.orig Thu Nov 7 17:01:43 1996
+++ main.c Thu Jan 17 16:14:05 2002
@@ -95,7 +95,7 @@ usage(int argc, char **argv)
* main
* The main function
*/
-void
+int
main(int argc, char **argv)
{
XtAppContext app;
@@ -159,7 +159,7 @@ main(int argc, char **argv)
post_realize_config(&widgets);
/* Register callback routines */
- register_callbacks(&widgets);
+ register_callbacks(&widgets, app);
/* Initialize screen controls */
mx_start(&widgets);