summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/popen.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-02-01 01:08:48 +0000
committerobrien <obrien@FreeBSD.org>2002-02-01 01:08:48 +0000
commit21d62aab619b3796c765c898c9caaa4179629580 (patch)
tree8179b431c3e3ff86ad8d0302e31673509ac370ce /lib/libc/gen/popen.c
parent675250e8eb2f1e93e8238f6611a7c3ae8d42d264 (diff)
downloadFreeBSD-src-21d62aab619b3796c765c898c9caaa4179629580.zip
FreeBSD-src-21d62aab619b3796c765c898c9caaa4179629580.tar.gz
* Remove 'register'. (some functions had 7+ register functions...)
* Fix SCM ID's.
Diffstat (limited to 'lib/libc/gen/popen.c')
-rw-r--r--lib/libc/gen/popen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/popen.c b/lib/libc/gen/popen.c
index 2070f83..82a01bb 100644
--- a/lib/libc/gen/popen.c
+++ b/lib/libc/gen/popen.c
@@ -32,13 +32,13 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)popen.c 8.3 (Berkeley) 5/3/95";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "namespace.h"
#include <sys/param.h>
@@ -164,7 +164,7 @@ int
pclose(iop)
FILE *iop;
{
- register struct pid *cur, *last;
+ struct pid *cur, *last;
int omask;
int pstat;
pid_t pid;
OpenPOWER on IntegriCloud