Use proper e-mail address format everywhere.
[doldaconnect.git] / daemon / fnet-adc.c
index a72935b..98d760f 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Dolda Connect - Modular multiuser Direct Connect-style client
- *  Copyright (C) 2004 Fredrik Tolf (fredrik@dolda2000.com)
+ *  Copyright (C) 2004 Fredrik Tolf <fredrik@dolda2000.com>
  *  
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -193,14 +193,13 @@ static void freeqcmd(struct qcmd *qcmd)
 
 #define ADC_CMDFN(name) static void name(struct fnetnode *fn, wchar_t *command, wchar_t *sender, int argc, wchar_t **argv)
 #ifdef __GNUC__
-#define ADC_CMDCOM \
-       struct socket *sk __attribute__ ((unused)) = fn->sk; \
-       struct adchub *hub __attribute__ ((unused)) = fn->data;
+#define UNUSED __attribute__ ((unused))
 #else
-#define ADC_CMDCOM \
-       struct socket *sk = fn->sk; \
-       struct adchub *hub = fn->data;
+#define UNUSED
 #endif
+#define ADC_CMDCOM \
+       struct socket *sk UNUSED = fn->sk; \
+       struct adchub *hub UNUSED = fn->data;
 
 ADC_CMDFN(cmd_sup)
 {