aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.c
diff options
context:
space:
mode:
authorokan2009-05-18 00:23:35 +0000
committerokan2009-05-18 00:23:35 +0000
commit4ef1caacef8237a3f910393b3fa5e7c70cc725fb (patch)
tree7812c2d8c3222f4b73cdf53074df9068f22cf148 /calmwm.c
parent025d727caa6afca7b2555eb11b4fdd23afce1139 (diff)
downloadcwm-4ef1caacef8237a3f910393b3fa5e7c70cc725fb.tar.gz
nuke the leading underscore notation for local static functions - there
are far better ways to know. "go for it" oga@
Diffstat (limited to 'calmwm.c')
-rw-r--r--calmwm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/calmwm.c b/calmwm.c
index ffc7cbc..67e76a3 100644
--- a/calmwm.c
+++ b/calmwm.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: calmwm.c,v 1.38 2009/05/18 00:14:19 oga Exp $
+ * $Id: calmwm.c,v 1.39 2009/05/18 00:23:35 okan Exp $
*/
#include "headers.h"
@@ -38,7 +38,7 @@ int HasXinerama, HasRandr, Randr_ev;
int Starting;
struct conf Conf;
-static void _sigchld_cb(int);
+static void sigchld_cb(int);
static void dpy_init(const char *);
static void x_setup(void);
static void x_setupscreen(struct screen_ctx *, u_int);
@@ -66,7 +66,7 @@ main(int argc, char **argv)
argc -= optind;
argv += optind;
- if (signal(SIGCHLD, _sigchld_cb) == SIG_ERR)
+ if (signal(SIGCHLD, sigchld_cb) == SIG_ERR)
err(1, "signal");
group_init();
@@ -230,7 +230,7 @@ x_errorhandler(Display *dpy, XErrorEvent *e)
}
static void
-_sigchld_cb(int which)
+sigchld_cb(int which)
{
pid_t pid;
int save_errno = errno;