}
int cpcompare(const void *a, const void *b) {
- const struct chanprofile **cpa=a, **cpb=b;
+ const struct chanprofile **cpa=(const struct chanprofile **)a, **cpb=(const struct chanprofile **)b;
return (*cpb)->clones - (*cpa)->clones;
}
* "demo.c" so that it could be used as a standalone API.
*/
-static char copyright[] =
+char patricia_copyright[] =
"This product includes software developed by the University of Michigan, Merit"
"Network, Inc., and their contributors.";
int do_chansearch(void *source, int cargc, char **cargv);
struct searchNode *search_parse(int type, char *input);
-void printnick(nick *, nick *);
void printnick_channels(nick *, nick *);
void printchannel(nick *, chanindex *);
void printchannel_topic(nick *, chanindex *);
} searchNode;
extern const char *parseError;
+
+void printnick(nick *, nick *);
+