comparison src/online.c @ 366:41958685480d

Switched to `type *name' style Andrew Koenig's ``C Traps and Pitfalls'' (Ch.2.1) convinced me that it is best to go with the way C had been designed. The ``declaration reflects use'' concept conflicts with a ``type* name'' notation. Hence I switched.
author markus schnalke <meillo@marmaro.de>
date Thu, 22 Sep 2011 15:07:40 +0200
parents f10a56dc7481
children b27f66555ba8
comparison
equal deleted inserted replaced
365:934a223e4ee8 366:41958685480d
24 24
25 25
26 gchar* 26 gchar*
27 online_query() 27 online_query()
28 { 28 {
29 gchar* pipe = conf.online_query; 29 gchar *pipe = conf.online_query;
30 pid_t pid; 30 pid_t pid;
31 void (*old_signal) (int); 31 void (*old_signal) (int);
32 int status; 32 int status;
33 FILE *in; 33 FILE *in;
34 gchar *name = NULL; 34 gchar *name = NULL;