From owner-freebsd-commit Sat Apr 15 16:48:24 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA08088 for commit-outgoing; Sat, 15 Apr 1995 16:48:24 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA08075 for cvs-include-outgoing; Sat, 15 Apr 1995 16:48:20 -0700 Received: (from bde@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id QAA08065 ; Sat, 15 Apr 1995 16:48:17 -0700 Date: Sat, 15 Apr 1995 16:48:17 -0700 From: Bruce Evans Message-Id: <199504152348.QAA08065@freefall.cdrom.com> To: CVS-commiters, cvs-include Subject: cvs commit: src/include stdlib.h Sender: commit-owner@FreeBSD.org Precedence: bulk bde 95/04/15 16:48:17 Modified: include stdlib.h Log: Don't declare rune_t, putenv() or setenv() if _POSIX_SOURCE is declared. Previously they were only guarded by `#ifndef _ANSI_SOURCE'. They are neither ANSI nor POSIX nor std and should never have been declared here. Declare functions like abs() as having attribute `__pure2'. Declaring them as having type `__pure' has been a no-op for some time. Delete obsolete comment about stub locale functions. Use consistent formatting for the rand48 functions. These and about 30 other functions should never have been declared here either.