diff options
author | converse <empty> | 1990-04-30 17:03:41 +0000 |
---|---|---|
committer | converse <empty> | 1990-04-30 17:03:41 +0000 |
commit | 9dad5a3102c0b2cb10f33ca1878a685d2236cccb (patch) | |
tree | 1d999b3e1db9c45af4a29e410c8f8f526b45ed31 /xc/lib/Xaw/List.h | |
parent | 01feff6a77cf37d8e91de279086147713d8efc08 (diff) |
ansi function prototypes
Diffstat (limited to 'xc/lib/Xaw/List.h')
-rw-r--r-- | xc/lib/Xaw/List.h | 33 |
1 files changed, 27 insertions, 6 deletions
diff --git a/xc/lib/Xaw/List.h b/xc/lib/Xaw/List.h index a95660977..5f49e488d 100644 --- a/xc/lib/Xaw/List.h +++ b/xc/lib/Xaw/List.h @@ -1,5 +1,5 @@ /* - * $XConsortium$ + * $XConsortium: List.h,v 1.15 89/12/11 15:08:59 kit Exp $ * * Copyright 1989 Massachusetts Institute of Technology * @@ -177,7 +177,15 @@ typedef struct _XawListReturnStruct { * If nitems is <= 0 then the list needs to be NULL terminated. */ -extern void XawListChange(); /* w, list, nitems, longest, resize */ +extern void XawListChange( +#if NeedFunctionPrototypes + Widget /* w */, + String* /* list */, + int /* nitems */, + int /* longest */, + Boolean /* resize */ +#endif +); /* Function Name: XawListUnhighlight * Description: unlights the current highlighted element. @@ -185,16 +193,25 @@ extern void XawListChange(); /* w, list, nitems, longest, resize */ * Returns: none. */ -extern void XawListUnhighlight(); /* w */ +extern void XawListUnhighlight( +#if NeedFunctionPrototypes + Widget /* w */ +#endif +); /* Function Name: XawListHighlight * Description: Highlights the given item. * Arguments: w - the list widget. - * item - the item to hightlight. + * item - the item to highlight. * Returns: none. */ -extern void XawListHighlight(); /* w, item */ +extern void XawListHighlight( +#if NeedFunctionPrototypes + Widget /* w */, + int /* item */ +#endif +); /* Function Name: XawListShowCurrent @@ -203,7 +220,11 @@ extern void XawListHighlight(); /* w, item */ * Returns: the info about the currently highlighted object. */ -extern XawListReturnStruct * XawListShowCurrent(); /* w */ +extern XawListReturnStruct * XawListShowCurrent( +#if NeedFunctionPrototypes + Widget /* w */ +#endif +); #endif /* _XawList_h */ /* DON'T ADD STUFF AFTER THIS #endif */ |