]> code.delx.au - gnu-emacs/blobdiff - oldXMenu/EvHand.c
Remove separate pool for popup dialogs (bug#23856)
[gnu-emacs] / oldXMenu / EvHand.c
index 457609f4c2a1c298290b62fdec7835834fdc04a7..bd15359d9199ea58e7776f8a8896699576390b8d 100644 (file)
@@ -1,8 +1,7 @@
+/* Copyright    Massachusetts Institute of Technology    1985  */
+
 #include "copyright.h"
 
-/* Copyright    Massachusetts Institute of Technology    1985  */
-/* Copyright (C) 2002, 2003, 2004, 2005,
-                 2006 Free Software Foundation, Inc.  */
 
 /*
  * XMenu:      MIT Project Athena, X Window system menu package
 
 #include "XMenuInt.h"
 
-XMenuEventHandler(handler)
-    int (*handler)();
+void
+XMenuEventHandler(int (*handler) (XEvent*))
 {
     /*
      * Set the global event handler variable.
      */
     _XMEventHandler = handler;
 }
-
-/* arch-tag: 8d614c8c-94d9-43c8-8e32-c438a3c8a8a3
-   (do not change this comment) */