mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-24 20:55:49 +00:00
Avoid starting a comment with */*
Even though -Wcomment doesn't mind it (in gcc or clang), the appearance of */* confuses the syntax highlighter of some editors (eg. vim), and causes warnings in MSVC. Signed-off-by: Peter Harris <pharris@opentext.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
8b36e1ec8d
commit
5eb77697ea
18 changed files with 243 additions and 252 deletions
|
|
@ -64,16 +64,16 @@ typedef struct _CallbackList *CallbackListPtr; /* also in misc.h */
|
|||
|
||||
typedef void (*CallbackProcPtr) (CallbackListPtr *, void *, void *);
|
||||
|
||||
extern _X_EXPORT Bool AddCallback(CallbackListPtr * /*pcbl */ ,
|
||||
CallbackProcPtr /*callback */ ,
|
||||
void */*data */ );
|
||||
extern _X_EXPORT Bool AddCallback(CallbackListPtr *pcbl,
|
||||
CallbackProcPtr callback,
|
||||
void *data);
|
||||
|
||||
extern _X_EXPORT Bool DeleteCallback(CallbackListPtr * /*pcbl */ ,
|
||||
CallbackProcPtr /*callback */ ,
|
||||
void */*data */ );
|
||||
extern _X_EXPORT Bool DeleteCallback(CallbackListPtr *pcbl,
|
||||
CallbackProcPtr callback,
|
||||
void *data);
|
||||
|
||||
extern _X_EXPORT void _CallCallbacks(CallbackListPtr * /*pcbl */ ,
|
||||
void */*call_data */ );
|
||||
extern _X_EXPORT void _CallCallbacks(CallbackListPtr *pcbl,
|
||||
void *call_data);
|
||||
|
||||
static inline void
|
||||
CallCallbacks(CallbackListPtr *pcbl, void *call_data)
|
||||
|
|
@ -83,7 +83,7 @@ CallCallbacks(CallbackListPtr *pcbl, void *call_data)
|
|||
_CallCallbacks(pcbl, call_data);
|
||||
}
|
||||
|
||||
extern _X_EXPORT void DeleteCallbackList(CallbackListPtr * /*pcbl */ );
|
||||
extern _X_EXPORT void DeleteCallbackList(CallbackListPtr *pcbl);
|
||||
|
||||
extern _X_EXPORT void InitCallbackManager(void);
|
||||
extern _X_EXPORT void DeleteCallbackManager(void);
|
||||
|
|
|
|||
Loading…
Reference in a new issue