diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-10-24 05:00:29 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-10-24 05:00:29 +0000 |
commit | bdfd0d78bc44e73d693510e70087857785b3b521 (patch) | |
tree | 153a573095afac8d8d0ea857759ecabd77fb28b7 /libbb/find_pid_by_name.c | |
parent | 9260fc5552a3ee52eb95823aa6689d52a1ffd33c (diff) | |
download | busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.gz busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.tar.bz2 busybox-w32-bdfd0d78bc44e73d693510e70087857785b3b521.zip |
Major rework of the directory structure and the entire build system.
-Erik
Diffstat (limited to 'libbb/find_pid_by_name.c')
-rw-r--r-- | libbb/find_pid_by_name.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/libbb/find_pid_by_name.c b/libbb/find_pid_by_name.c index 7f39dd41c..f183cc0bd 100644 --- a/libbb/find_pid_by_name.c +++ b/libbb/find_pid_by_name.c | |||
@@ -2,9 +2,7 @@ | |||
2 | /* | 2 | /* |
3 | * Utility routines. | 3 | * Utility routines. |
4 | * | 4 | * |
5 | * Copyright (C) tons of folks. Tracking down who wrote what | 5 | * Copyright (C) 1999,2000,2001 by Erik Andersen <andersee@debian.org> |
6 | * isn't something I'm going to worry about... If you wrote something | ||
7 | * here, please feel free to acknowledge your work. | ||
8 | * | 6 | * |
9 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
10 | * it under the terms of the GNU General Public License as published by | 8 | * it under the terms of the GNU General Public License as published by |
@@ -19,10 +17,6 @@ | |||
19 | * You should have received a copy of the GNU General Public License | 17 | * You should have received a copy of the GNU General Public License |
20 | * along with this program; if not, write to the Free Software | 18 | * along with this program; if not, write to the Free Software |
21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 | * | ||
23 | * Based in part on code from sash, Copyright (c) 1999 by David I. Bell | ||
24 | * Permission has been granted to redistribute this code under the GPL. | ||
25 | * | ||
26 | */ | 20 | */ |
27 | 21 | ||
28 | #include <stdio.h> | 22 | #include <stdio.h> |
@@ -36,7 +30,7 @@ | |||
36 | 30 | ||
37 | 31 | ||
38 | /* For Erik's nifty devps device driver */ | 32 | /* For Erik's nifty devps device driver */ |
39 | #ifdef BB_FEATURE_USE_DEVPS_PATCH | 33 | #ifdef CONFIG_FEATURE_USE_DEVPS_PATCH |
40 | #include <linux/devps.h> | 34 | #include <linux/devps.h> |
41 | 35 | ||
42 | /* find_pid_by_name() | 36 | /* find_pid_by_name() |
@@ -120,7 +114,7 @@ extern pid_t* find_pid_by_name( char* pidName) | |||
120 | return pidList; | 114 | return pidList; |
121 | } | 115 | } |
122 | 116 | ||
123 | #else /* BB_FEATURE_USE_DEVPS_PATCH */ | 117 | #else /* CONFIG_FEATURE_USE_DEVPS_PATCH */ |
124 | 118 | ||
125 | /* find_pid_by_name() | 119 | /* find_pid_by_name() |
126 | * | 120 | * |
@@ -187,7 +181,7 @@ extern pid_t* find_pid_by_name( char* pidName) | |||
187 | } | 181 | } |
188 | return pidList; | 182 | return pidList; |
189 | } | 183 | } |
190 | #endif /* BB_FEATURE_USE_DEVPS_PATCH */ | 184 | #endif /* CONFIG_FEATURE_USE_DEVPS_PATCH */ |
191 | 185 | ||
192 | /* END CODE */ | 186 | /* END CODE */ |
193 | /* | 187 | /* |