diff options
author | Indent <please@skip.me> | 2015-02-19 02:47:20 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-02-20 19:50:54 -0300 |
commit | 5ebff60479fc7a9f7f50ac03b124c91d4e6ebe11 (patch) | |
tree | 9fc0d50cb1f4bc9768d9f00de94eafd876bb55b0 /query.h | |
parent | af359b4316f9d392c6b752495a1b2ed631576ed8 (diff) |
Reindent everything to K&R style with tabs
Used uncrustify, with the configuration file in ./doc/uncrustify.cfg
Commit author set to "Indent <please@skip.me>" so that it's easier to
skip while doing git blame.
Diffstat (limited to 'query.h')
-rw-r--r-- | query.h | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -1,4 +1,4 @@ - /********************************************************************\ +/********************************************************************\ * BitlBee -- An IRC to other IM-networks gateway * * * * Copyright 2002-2004 Wilmer van der Gaast and others * @@ -26,10 +26,9 @@ #ifndef _QUERY_H #define _QUERY_H -typedef void (*query_callback) ( void *data ); +typedef void (*query_callback) (void *data); -typedef struct query -{ +typedef struct query { struct im_connection *ic; char *question; query_callback yes, no, free; @@ -37,11 +36,11 @@ typedef struct query struct query *next; } query_t; -query_t *query_add( irc_t *irc, struct im_connection *ic, char *question, - query_callback yes, query_callback no, query_callback free, - void *data ); -void query_del( irc_t *irc, query_t *q ); -void query_del_by_conn( irc_t *irc, struct im_connection *ic ); -void query_answer( irc_t *irc, query_t *q, int ans ); +query_t *query_add(irc_t *irc, struct im_connection *ic, char *question, + query_callback yes, query_callback no, query_callback free, + void *data); +void query_del(irc_t *irc, query_t *q); +void query_del_by_conn(irc_t *irc, struct im_connection *ic); +void query_answer(irc_t *irc, query_t *q, int ans); #endif |