summaryrefslogtreecommitdiff
path: root/src/PopupCB.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-07-14 15:48:32 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-07-14 15:48:32 -0400
commit43f01d164ecdc5d5efe62a5fb82a4d22aa62b0e0 (patch)
tree65ca5b9b4b8480e768dc31b2fe97250e6ca9578c /src/PopupCB.c
parentb7d917281a2bdd51c8816aa89fc76de47d663526 (diff)
indent'd like "x-indent.sh", but with a more complete set of typedefs - see
https://github.com/ThomasDickey/cindent-snapshots/blob/master/scripts/xxx-profile Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/PopupCB.c')
-rw-r--r--src/PopupCB.c32
1 files changed, 13 insertions, 19 deletions
diff --git a/src/PopupCB.c b/src/PopupCB.c
index 660a6b4..7254ae1 100644
--- a/src/PopupCB.c
+++ b/src/PopupCB.c
@@ -22,7 +22,6 @@ Except as contained in this notice, the name of The Open Group shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
-
Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
All Rights Reserved
@@ -50,33 +49,28 @@ SOFTWARE.
#endif
#include "IntrinsicI.h"
-/* ARGSUSED */
-void XtCallbackNone(
- Widget widget,
- XtPointer closure,
- XtPointer call_data _X_UNUSED)
+void
+XtCallbackNone(Widget widget, XtPointer closure, XtPointer call_data _X_UNUSED)
{
XtSetSensitive(widget, FALSE);
_XtPopup((Widget) closure, XtGrabNone, FALSE);
-} /* XtCallbackNone */
+} /* XtCallbackNone */
-/* ARGSUSED */
-void XtCallbackNonexclusive(
- Widget widget,
- XtPointer closure,
- XtPointer call_data _X_UNUSED)
+void
+XtCallbackNonexclusive(Widget widget,
+ XtPointer closure,
+ XtPointer call_data _X_UNUSED)
{
XtSetSensitive(widget, FALSE);
_XtPopup((Widget) closure, XtGrabNonexclusive, FALSE);
-} /* XtCallbackNonexclusive */
+} /* XtCallbackNonexclusive */
-/* ARGSUSED */
-void XtCallbackExclusive(
- Widget widget,
- XtPointer closure,
- XtPointer call_data _X_UNUSED)
+void
+XtCallbackExclusive(Widget widget,
+ XtPointer closure,
+ XtPointer call_data _X_UNUSED)
{
XtSetSensitive(widget, FALSE);
_XtPopup((Widget) closure, XtGrabExclusive, FALSE);
-} /* XtCallbackExclusive */
+} /* XtCallbackExclusive */