From c7cbed7d7c68661feb63f7dcb60974c8a6447d2c Mon Sep 17 00:00:00 2001 From: "N.N." Date: Fri, 24 Apr 2009 19:46:52 +0000 Subject: remove gcc 4.2 warnings in inlet_tip, pd_vmess, MAKESYM svn path=/trunk/; revision=11125 --- desiredata/src/desire.h | 2 +- desiredata/src/m_pd.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'desiredata') diff --git a/desiredata/src/desire.h b/desiredata/src/desire.h index 79d83cf5..b8824e62 100644 --- a/desiredata/src/desire.h +++ b/desiredata/src/desire.h @@ -301,7 +301,7 @@ EXTERN void word_free(t_word *wp, t_template *tmpl); EXTERN void scalar_redraw(t_scalar *x, t_canvas *canvas); //EXTERN int pd_pickle(t_foo *foo, char *fmt, ...); EXTERN void pd_set_newest (t_pd *x); -char* inlet_tip(t_inlet* i,int num); +EXTERN const char *inlet_tip(t_inlet* i,int num); extern t_hash *object_table; extern t_hash *class_table; diff --git a/desiredata/src/m_pd.h b/desiredata/src/m_pd.h index 6ea90242..dccf9a11 100644 --- a/desiredata/src/m_pd.h +++ b/desiredata/src/m_pd.h @@ -380,7 +380,7 @@ EXTERN t_symbol *symprintf(const char *s, ...); EXTERN t_gotfn getfn(t_pd *x, t_symbol *s); EXTERN t_gotfn zgetfn(t_pd *x, t_symbol *s); EXTERN void nullfn(void); -EXTERN void pd_vmess(t_pd *x, t_symbol *s, char *fmt, ...); +EXTERN void pd_vmess(t_pd *x, t_symbol *s, const char *fmt, ...); #define mess0(x,s) (getfn((x),(s))((x))) #define mess1(x,s,a) (getfn((x),(s))((x),(a))) #define mess2(x,s,a,b) (getfn((x),(s))((x),(a),(b))) -- cgit v1.2.1