summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* My sched.h is getting walloped by Peter Dufault's. Nuke mine. Sorry.jb1998-03-082-75/+2
|
* Reviewed by: bdedufault1998-03-082-7/+43
| | | | | | | | | | | | | | | | | | | | | | | Changes to support building with _POSIX_SOURCE set to 199309L: 1. Add sys/_posix.h to handle those preprocessor defs that POSIX says have effects when defined before including any header files; 2. Change POSIX4_VISIBLE back to _POSIX4_VISIBLE 3. Add _POSIX4_VISIBLE_HISTORICALLY for pre-existing BSD features now defined in POSIX. These show up when: _POSIX_SOURCE and _POSIX_C_SOURCE are not set or _POSIX_C_SOURCE is set >= 199309L and vanish when: _POSIX_SOURCE is set or _POSIX_C_SOURCE is < 199309L. 4. Explain these in man 9 posix4; 5. Include _posix.h and conditionalize on new feature test.
* Add a POSIX sched header. pthread_yield() in draft 4 becomesjb1998-03-082-2/+75
| | | | | sched_yield() in the final draft (10). This header contains the prototype. Other things in here are "future".
* Reviewed by: msmith, bde long agodufault1998-03-043-4/+36
| | | | | POSIX.4 headers and sysctl variables. Nothing should change unless POSIX4 is defined or _POSIX_VERSION is set to 199309.
* Moved include of <sys/cdefs.h> earlier for the same reasons as movingbde1998-02-271-2/+2
| | | | | | it in <sys/types.h>. PR: 5785
* Removed _POSIX_SOURCE ifdefs. This is not a POSIX.1 header.bde1998-02-252-4/+0
|
* Uncommit the generated file key_prot.h. Install it from where itbde1998-02-133-264/+5
| | | | | | | | | is generated. It must be installed in both /usr/include/rpc/ and /usr/include/rpcsvc/ for historical reasons. The generated version was once missing ANSI prototypes because the wrong flags were passed to rpcgen, but that is fixed now. The committed version had `#pragma indent' which gratuitously broke K&R support. Apart from this, all versions before and after this commit are identical.
* Replace bogus "@(#)err.h 8.1 (Berkeley) 6/2/93" with RCS Id keyword.jdp1998-02-111-1/+1
| | | | | Somebody must have blindly copied the leader comment when they created this file.
* Remove the include of <dlfcn.h> from crt0.c; it is not needed nowjdp1998-02-112-2/+74
| | | | | | | that the dl* trampolines have been moved into libc. Move dlfcn.h from src/lib/csu/i386 into src/include. Nothing in src/lib/csu/i386 uses it any more.
* Implement dladdr.jdp1998-02-061-1/+8
|
* XOpen says the void setpwent(void) is correct. Also call setpassent(0)steve1998-02-011-1/+1
| | | | | | instead of duplicating code, albeit trivial (inspired by NetBSD). PR: 5524
* kill ufs/lfs so that make installworld completes successfully.imp1998-01-311-2/+2
|
* Suggested by: bdejb1998-01-201-11/+0
| | | | | | | | | | Move sigjmp_buf and jmp_buf structure definitions to machine/setjmp.h so that i386 can continue to use int as the basic register type and alpha can use long. Bruce was concerned about possible differing alignment. I've left the definition of _JBLEN in machine/setjmp.h even though Bruce's example used the number directly. I don't know if any other code relies on _JBLEN, so I left it to avoid potential breakage.
* Invoke rpcgen with -C so that headers are created with ANSI prototypes.wpaul1998-01-191-2/+2
| | | | | | | | | | | | | | | Note: this may cause some problems in a few cases. With very old versions of rpcgen, if you defined a procedure called foo, then rpcen would create client stubs for function foo_1() and server stubs _also_ with function foo_1(). This only worked because of the lack of ANSI prototypes: the client side stub takes different arguments than the server side stub. (The client side takes a CLIENT * handle, while the server side wants an svc_req *.) To fix this conflict, rpcgen in ANSI mode generates foo_1() for the client and foo_1_svc() for the server. RPC server code that depends on the old behavior might break because of this. (Fixing it is just a matter of adding the _svc suffix onto the server procedure names.)
* Added missing declaration of signanosleep().bde1998-01-161-0/+5
|
* Fixed pedantic syntax error (trailing comma in enum).bde1998-01-161-1/+3
|
* Removed `#pragma ident' (for a FreeBSD Id) so that the K&R supportbde1998-01-164-4/+0
| | | | | | | | isn't gratuitously broken. This also prevents ANSI compilers from recognizing the pragma as a request to run /usr/games/hack... FreeBSD Ids should be in comments or rcsids, not in `#pragma ident's (which are equivalent to comments when compiled by gcc), and the only FreeBSD change in this file seems to be adding the Id.
* Commented out `#pragma ident' (for a Sun id) so that the K&R supportbde1998-01-161-1/+1
| | | | | isn't gratuitously broken. This also prevents ANSI compilers from recognizing the pragma as a request to run /usr/games/hack...
* Removed redundant declarations. rpcgen generates `typedef enum foo;'bde1998-01-161-5/+2
| | | | from `enum foo;'.
* Made this header self-sufficent. It had unnecessary dependencies onbde1998-01-161-2/+6
| | | | | <sys/cdefs.h>, <sys/types.h>, <rpcsvc/yp_prot.h>, and on the latter's prerequisites (5 more).
* Fixed a missing dependency.bde1998-01-161-1/+3
|
* Null change to attach the correct log message for the previous commit:bde1998-01-161-1/+1
| | | | | | | Added some forward struct declarations so that this file is less self-insufficent. Fixed an incomplete prototype. Fixed some misformattings.
* Added a forward struct declaration so that this file is lessbde1998-01-162-4/+10
| | | | self-insufficent.
* Commented out `#pragma ident' so that the K&R support isn't gratuitouslybde1998-01-161-1/+1
| | | | | broken. This also prevents ANSI compilers from recognizing the pragma as a request to run /usr/games/hack...
* Translated to `C' - commented out #ident.bde1998-01-161-1/+1
|
* Move _JBLEN definition to <machine/setjmp.h> like on NetBSD. Removejb1998-01-111-25/+4
| | | | | | | | | | | | definitions for architectures that we don't have libc MD source for. Change 'int' to 'long' in sigjmp_buf and jmp_buf structures so that they are suitable for the register size on both i386 and alpha. Although FreeBSD defines these structures differently to NetBSD, the element size is now the same. If Bruce doesn't like this [8-)], we'll need to add a typedef to each <machine/setjmp.h> and use that in <setjmp.h>.
* unborkify osreldate.h install (change \ to / - someone was in DOS mode! ;)jkh1998-01-021-2/+2
|
* Install osreldate.h from ${.OBJDIR}.steve1998-01-011-2/+3
| | | | Submitted by: Bruce Evans <bde@zeta.org.au>
* Added missing caddr_t --> void * conversions for sys/mman.h functions.alex1998-01-011-2/+2
| | | | Submitted by: bde
* Don't include sys/syslimits.h if _ANSI_SOURCE is defined.steve1997-12-271-1/+4
| | | | | PR: 5119 Discussed with: Bruce Evans <bde@zeta.org.au>
* Changed pthread_detach to conform to POSIX, i.e. the single argumentalex1997-12-251-1/+1
| | | | | | | | | provided is of type pthread_t instead of pthread_t *. PR: 4320 Return EINVAL instead of ESRCH if attempting to detach an already detached thread.
* Move nlist related defines from link.h into nlist.h. Clean upjdp1997-12-062-24/+37
| | | | nlist.h.
* Remove the prototypes for dlopen and related functions. They don'tjdp1997-11-281-10/+1
| | | | | belong here. The standard place for them is <dlfcn.h>, and there is already another copy of the prototypes there.
* Add Ids, from lite2.charnier1997-11-243-3/+11
|
* const correctness for dl*()brian1997-11-221-8/+8
|
* Remove sccsid, not present in Lite2.charnier1997-11-203-14/+3
|
* Add const to rcsid[] definition so that -Wall will not complain.charnier1997-10-313-8/+17
|
* Change usleep return type from void to int to match OpenGroup specs.ache1997-10-221-1/+1
|
* Declare the various 2-byte values in TFTP as being `unsigned short'.joerg1997-10-191-3/+3
| | | | | | | | | | RFC 1350 isn't very explicit about this, but the use of signed integers doesn't seem to make sense. Should be in 2.2.5, but is probably too late to be verified completely. PR: bin/4502 Submitted by: Dirk Nehrling <nerle@pdv.de> via Lars Koeller
* Reinsert telnet.h into the list of files installed into include/arpa/markm1997-10-031-2/+2
| | | | I suspect a commit of mine had this (bogusly).
* Changes for KTH KerberosIV.markm1997-09-281-2/+2
| | | | telent.h is installed from libtelnet, not the include dir.
* Oops, fix typo in istype definitionache1997-09-272-2/+2
|
* 1) Bring '!!' back since we wan't overflow even a charache1997-09-272-34/+38
| | | | | | 2) Revive __maskrune, just return mask now 3) Express __istype via !!__maskrune 4) Use __maskrune in digittoint
* Oops, wrong version of digittoint fix was commited, step back to v1.8ache1997-09-252-16/+12
| | | | | instead just remove '!!' to make digittoint() work and re-arrange things a little
* Fix digittoint broken long agoache1997-09-252-28/+16
| | | | | Redesign to allow digittoint work for runes too __maskrune removed, __istype become a macro, __runeflags added
* Bandaid for the build-breaking reference to _BSD_RUNE_T_. I'm not surepeter1997-09-252-6/+6
| | | | that this is right, but the old reference defaintely was not.
* Submitted by: Sin'ichiro MIYATANI / Phase One, Inc <siu@phaseone.co.jp>julian1997-09-242-2/+20
| | | | | Basic support for the Shift JIS encoding of japanese. (and one tiny typo fixed in a comment)
* Removed installhdrs target. It was an unnecessary complication.bde1997-09-162-11/+4
|
* SYSV has both <poll.h> and <sys/poll.h>. (poll.h merely #includespeter1997-09-141-2/+2
| | | | | | sys/poll.h). Just provide a link, it's close enough. :-) In an ideal world the prototype for poll() would be in <poll.h> but some code seems to expect it in <sys/poll.h>, so we can't win there.
* Add "options no_tld_query" to resolv.conf.brian1997-09-011-1/+2
| | | | | | Mention the capability in resolver(5). Mention that RES_OPTIONS can be used in resolver(5). Discussed with: -hackers
OpenPOWER on IntegriCloud