[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: prototype.h



  User: danmc   
  Date: 06/12/06 23:24:17

  Modified:    .        prototype.h
  Log:
  Fix a whole bunch of pointer casts which were not right.  They didn't seem 
  
  to be causing failures but were causing tons of warnings.  Also remove a
  
  spurious ";" following a function definition and address some "code can't
  
  be reached" warnings.
  
  
  
  
  Revision  Changes    Path
  1.152     +2 -2      eda/geda/gaf/gschem/include/prototype.h
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: prototype.h
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/include/prototype.h,v
  retrieving revision 1.151
  retrieving revision 1.152
  diff -u -b -r1.151 -r1.152
  --- prototype.h	5 Dec 2006 22:52:06 -0000	1.151
  +++ prototype.h	7 Dec 2006 04:24:17 -0000	1.152
  @@ -1,4 +1,4 @@
  -/* $Id: prototype.h,v 1.151 2006/12/05 22:52:06 cnieves Exp $ */
  +/* $Id: prototype.h,v 1.152 2006/12/07 04:24:17 danmc Exp $ */
   
   /* a_pan.c */
   void a_pan_general(TOPLEVEL *w_current, double world_cx, double world_cy, 
  @@ -295,7 +295,7 @@
   void i_set_state(TOPLEVEL *w_current, enum x_states newstate);
   void i_set_state_msg(TOPLEVEL *w_current, enum x_states newstate, const char *message);
   void i_update_left_button(const char *string);
  -void i_update_middle_button(TOPLEVEL *w_current, void *func_ptr, const char *string);
  +void i_update_middle_button(TOPLEVEL *w_current, void (*func_ptr)(gpointer, guint, GtkWidget*), const char *string);
   void i_update_right_button(const char *string);
   void i_update_toolbar(TOPLEVEL *w_current);
   void i_update_menus(TOPLEVEL *w_current);
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs