diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-01-22 22:55:11 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-01-22 22:55:11 +0000 |
commit | 992cb48d69edf2d39dd860e116b2c81ef0b57caa (patch) | |
tree | 1c9eba853c728b5d734506e1c66c269d96fe46ea /sysklogd/syslogd.c | |
parent | 109a761214fa3176bf09b23b4b3f2cb7da5a6971 (diff) | |
download | busybox-w32-992cb48d69edf2d39dd860e116b2c81ef0b57caa.tar.gz busybox-w32-992cb48d69edf2d39dd860e116b2c81ef0b57caa.tar.bz2 busybox-w32-992cb48d69edf2d39dd860e116b2c81ef0b57caa.zip |
- add platform.h.
- use shorter boilerplate while at it.
git-svn-id: svn://busybox.net/trunk/busybox@13494 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'sysklogd/syslogd.c')
-rw-r--r-- | sysklogd/syslogd.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 3d94069e2..e6b7ee7ed 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c | |||
@@ -10,20 +10,7 @@ | |||
10 | * | 10 | * |
11 | * Maintainer: Gennady Feldman <gfeldman@gena01.com> as of Mar 12, 2001 | 11 | * Maintainer: Gennady Feldman <gfeldman@gena01.com> as of Mar 12, 2001 |
12 | * | 12 | * |
13 | * This program is free software; you can redistribute it and/or modify | 13 | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. |
14 | * it under the terms of the GNU General Public License as published by | ||
15 | * the Free Software Foundation; either version 2 of the License, or | ||
16 | * (at your option) any later version. | ||
17 | * | ||
18 | * This program is distributed in the hope that it will be useful, | ||
19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
21 | * General Public License for more details. | ||
22 | * | ||
23 | * You should have received a copy of the GNU General Public License | ||
24 | * along with this program; if not, write to the Free Software | ||
25 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
26 | * | ||
27 | */ | 14 | */ |
28 | 15 | ||
29 | #include <stdio.h> | 16 | #include <stdio.h> |
@@ -527,7 +514,7 @@ static int serveConnection(char *tmpbuf, int n_read) | |||
527 | return n_read; | 514 | return n_read; |
528 | } | 515 | } |
529 | 516 | ||
530 | static void doSyslogd(void) __attribute__ ((noreturn)); | 517 | static void doSyslogd(void) ATTRIBUTE_NORETURN; |
531 | static void doSyslogd(void) | 518 | static void doSyslogd(void) |
532 | { | 519 | { |
533 | struct sockaddr_un sunx; | 520 | struct sockaddr_un sunx; |