Mercurial > pidgin
view src/protocols/simple/Makefile.am @ 13106:a0a4b44239e8
[gaim-migrate @ 15468]
I was reading the gettext man page and it pointed out that it should be typed as const char *, but it's char * to avoid warnings in code predating ANSI C. So, for the heck of it, I changed added a cast in internal.h. As it turns out, there was a lot of code that relied on this. In the interest of type safety, I've fixed all the warnings. I feel this improved a number of function signatures (in terms of typing clarity). Flame me if you object.
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Thu, 02 Feb 2006 21:34:43 +0000 |
| parents | b36235b2f2ec |
| children |
line wrap: on
line source
EXTRA_DIST = \ Makefile.mingw pkgdir = $(libdir)/gaim SIMPLESOURCES = \ simple.c \ simple.h \ sipmsg.c \ sipmsg.h AM_CFLAGS = $(st) libsimple_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) if STATIC_MSN st = -DGAIM_STATIC_PRPL noinst_LIBRARIES = libsimple.a libsimple_a_SOURCES = $(SIMPLESOURCES) libsimple_a_CFLAGS = $(AM_CFLAGS) else st = pkg_LTLIBRARIES = libsimple.la libsimple_la_SOURCES = $(SIMPLESOURCES) endif AM_CPPFLAGS = \ -I$(top_srcdir)/src \ $(GLIB_CFLAGS) \ $(DEBUG_CFLAGS)
