diff options
author | okan <okan> | 2009-05-18 00:23:35 +0000 |
---|---|---|
committer | okan <okan> | 2009-05-18 00:23:35 +0000 |
commit | 2c29a1de65d9b1a752e1090ab3192ed5edf7afc8 (patch) | |
tree | b289639f27fe3db961b9ca077e86008b3d14fedf /calmwm.c | |
parent | d2cfeb40b4bba4914b72f743b4b316e31560c17b (diff) | |
download | cwm-2c29a1de65d9b1a752e1090ab3192ed5edf7afc8.tar.gz cwm-2c29a1de65d9b1a752e1090ab3192ed5edf7afc8.tar.xz cwm-2c29a1de65d9b1a752e1090ab3192ed5edf7afc8.zip |
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calmwm.c b/calmwm.c index 0f1e176..cfe0091 100644 --- a/calmwm.c +++ b/calmwm.c @@ -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; |