Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jun 2004 05:33:16 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 55292 for review
Message-ID:  <200406190533.i5J5XGcg075441@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=55292

Change 55292 by marcel@marcel_nfs on 2004/06/19 05:32:52

	WARNS=4 fixes.

Affected files ...

.. //depot/projects/gdb/lib/libthread_db/thread_db.h#3 edit

Differences ...

==== //depot/projects/gdb/lib/libthread_db/thread_db.h#3 (text+ko) ====

@@ -112,37 +112,37 @@
 	} u;
 } td_notify_t;
 
-static void __inline
+static __inline void
 td_event_addset(td_thr_events_t *es, td_thr_events_e e)
 {
 	*es |= e;
 }
 
-static void __inline
+static __inline void
 td_event_delset(td_thr_events_t *es, td_thr_events_e e)
 {
 	*es &= ~e;
 }
 
-static void __inline
+static __inline void
 td_event_emptyset(td_thr_events_t *es)
 {
 	*es = TD_EVENT_NONE;
 }
 
-static void __inline
+static __inline void
 td_event_fillset(td_thr_events_t *es)
 {
 	*es = TD_ALL_EVENTS;
 }
 
-static int __inline
+static __inline int
 td_eventisempty(td_thr_events_t *es)
 {
 	return ((*es == TD_EVENT_NONE) ? 1 : 0);
 }
 
-static int __inline
+static __inline int
 td_eventismember(td_thr_events_t *es, td_thr_events_e e)
 {
 	return ((*es & e) ? 1 : 0);
@@ -160,7 +160,7 @@
 #define	TD_SIGNO_MASK		NULL
 
 __BEGIN_DECLS
-td_err_e td_init();
+td_err_e td_init(void);
 td_err_e td_ta_event_addr(const td_thragent_t *, td_thr_events_e,
     td_notify_t *);
 td_err_e td_ta_event_getmsg(const td_thragent_t *, td_event_msg_t *);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406190533.i5J5XGcg075441>