gcc version 4 doesn't like the extern declaration of free_vbuf_head to followed by a static declaration in vbuf.c. To fix this, we can just get rid of the declaration in vbuf.h, since free_vbuf_head is not used outside of vbuf.c.
Signed-off-by: Roland Dreier <[EMAIL PROTECTED]> --- mpid/ch_gen2/vbuf.h (revision 3549) +++ mpid/ch_gen2/vbuf.h (working copy) @@ -188,8 +188,6 @@ void allocate_vbufs(void); void deallocate_vbufs(void); -extern vbuf *free_vbuf_head; - vbuf *get_vbuf(void); void release_vbuf(vbuf * v); void vbuf_init_send(vbuf * v, unsigned long len); _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
