Mercurial > hg > mxe-octave-anirudha
changeset 1897:5d24b95b4480
fix formatting in libircclient
author | Tony Theodore <tonyt@logyst.com> |
---|---|
date | Thu, 23 Jun 2011 16:59:26 +1000 |
parents | d0eec01db1b5 |
children | 92bda7c87fbe |
files | src/libircclient-test.cpp src/libircclient.mk |
diffstat | 2 files changed, 17 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/src/libircclient-test.cpp +++ b/src/libircclient-test.cpp @@ -1,11 +1,16 @@ -#include <libircclient/libircclient.h> - -int -main() -{ - irc_callbacks_t callbacks; - memset(&callbacks, 0, sizeof(callbacks)); - - irc_create_session(&callbacks); - return 0; -} +/* This file is part of mingw-cross-env. */ +/* See doc/index.html for further information. */ + +#include <libircclient/libircclient.h> + +int main(int argc, char *argv[]) +{ + (void)argc; + (void)argv; + + irc_callbacks_t callbacks; + memset(&callbacks, 0, sizeof(callbacks)); + + irc_create_session(&callbacks); + return 0; +}