summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* XOpen says the void setpwent(void) is correct. Also call setpassent(0)Steve Price1998-02-011-1/+1
| | | | | | | | | instead of duplicating code, albeit trivial (inspired by NetBSD). PR: 5524 Notes: svn path=/head/; revision=32962
* kill ufs/lfs so that make installworld completes successfully.Warner Losh1998-01-311-2/+2
| | | | Notes: svn path=/head/; revision=32928
* Suggested by: bdeJohn Birrell1998-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. Notes: svn path=/head/; revision=32641
* Invoke rpcgen with -C so that headers are created with ANSI prototypes.Bill Paul1998-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.) Notes: svn path=/head/; revision=32624
* Added missing declaration of signanosleep().Bruce Evans1998-01-161-0/+5
| | | | Notes: svn path=/head/; revision=32557
* Fixed pedantic syntax error (trailing comma in enum).Bruce Evans1998-01-161-1/+3
| | | | Notes: svn path=/head/; revision=32556
* Removed `#pragma ident' (for a FreeBSD Id) so that the K&R supportBruce Evans1998-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. Notes: svn path=/head/; revision=32555
* Commented out `#pragma ident' (for a Sun id) so that the K&R supportBruce Evans1998-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... Notes: svn path=/head/; revision=32554
* Removed redundant declarations. rpcgen generates `typedef enum foo;'Bruce Evans1998-01-161-5/+2
| | | | | | | from `enum foo;'. Notes: svn path=/head/; revision=32553
* Made this header self-sufficent. It had unnecessary dependencies onBruce Evans1998-01-161-2/+6
| | | | | | | | <sys/cdefs.h>, <sys/types.h>, <rpcsvc/yp_prot.h>, and on the latter's prerequisites (5 more). Notes: svn path=/head/; revision=32552
* Fixed a missing dependency.Bruce Evans1998-01-161-1/+3
| | | | Notes: svn path=/head/; revision=32551
* Null change to attach the correct log message for the previous commit:Bruce Evans1998-01-161-1/+1
| | | | | | | | | | Added some forward struct declarations so that this file is less self-insufficent. Fixed an incomplete prototype. Fixed some misformattings. Notes: svn path=/head/; revision=32550
* Added a forward struct declaration so that this file is lessBruce Evans1998-01-162-4/+10
| | | | | | | self-insufficent. Notes: svn path=/head/; revision=32549
* Commented out `#pragma ident' so that the K&R support isn't gratuitouslyBruce Evans1998-01-161-1/+1
| | | | | | | | broken. This also prevents ANSI compilers from recognizing the pragma as a request to run /usr/games/hack... Notes: svn path=/head/; revision=32548
* Translated to `C' - commented out #ident.Bruce Evans1998-01-161-1/+1
| | | | Notes: svn path=/head/; revision=32545
* Move _JBLEN definition to <machine/setjmp.h> like on NetBSD. RemoveJohn Birrell1998-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>. Notes: svn path=/head/; revision=32419
* unborkify osreldate.h install (change \ to / - someone was in DOS mode! ;)Jordan K. Hubbard1998-01-021-2/+2
| | | | Notes: svn path=/head/; revision=32181
* Install osreldate.h from ${.OBJDIR}.Steve Price1998-01-011-2/+3
| | | | | | | Submitted by: Bruce Evans <bde@zeta.org.au> Notes: svn path=/head/; revision=32170
* Added missing caddr_t --> void * conversions for sys/mman.h functions.Alexander Langer1998-01-011-2/+2
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=32166
* Don't include sys/syslimits.h if _ANSI_SOURCE is defined.Steve Price1997-12-271-1/+4
| | | | | | | | PR: 5119 Discussed with: Bruce Evans <bde@zeta.org.au> Notes: svn path=/head/; revision=32032
* Changed pthread_detach to conform to POSIX, i.e. the single argumentAlexander Langer1997-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. Notes: svn path=/head/; revision=31985
* Move nlist related defines from link.h into nlist.h. Clean upJohn Polstra1997-12-062-24/+37
| | | | | | | nlist.h. Notes: svn path=/head/; revision=31584
* Remove the prototypes for dlopen and related functions. They don'tJohn Polstra1997-11-281-10/+1
| | | | | | | | belong here. The standard place for them is <dlfcn.h>, and there is already another copy of the prototypes there. Notes: svn path=/head/; revision=31441
* Add Ids, from lite2.Philippe Charnier1997-11-243-3/+11
| | | | Notes: svn path=/head/; revision=31387
* const correctness for dl*()Brian Somers1997-11-221-8/+8
| | | | Notes: svn path=/head/; revision=31342
* Remove sccsid, not present in Lite2.Philippe Charnier1997-11-203-14/+3
| | | | Notes: svn path=/head/; revision=31305
* Add const to rcsid[] definition so that -Wall will not complain.Philippe Charnier1997-10-313-8/+17
| | | | Notes: svn path=/head/; revision=30870
* Change usleep return type from void to int to match OpenGroup specs.Andrey A. Chernov1997-10-221-1/+1
| | | | Notes: svn path=/head/; revision=30647
* Declare the various 2-byte values in TFTP as being `unsigned short'.Joerg Wunsch1997-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 Notes: svn path=/head/; revision=30583
* Reinsert telnet.h into the list of files installed into include/arpa/Mark Murray1997-10-031-2/+2
| | | | | | | I suspect a commit of mine had this (bogusly). Notes: svn path=/head/; revision=30087
* Changes for KTH KerberosIV.Mark Murray1997-09-281-2/+2
| | | | | | | telent.h is installed from libtelnet, not the include dir. Notes: svn path=/head/; revision=29926
* Oops, fix typo in istype definitionAndrey A. Chernov1997-09-272-2/+2
| | | | Notes: svn path=/head/; revision=29884
* 1) Bring '!!' back since we wan't overflow even a charAndrey A. Chernov1997-09-272-34/+38
| | | | | | | | | 2) Revive __maskrune, just return mask now 3) Express __istype via !!__maskrune 4) Use __maskrune in digittoint Notes: svn path=/head/; revision=29883
* Oops, wrong version of digittoint fix was commited, step back to v1.8Andrey A. Chernov1997-09-252-16/+12
| | | | | | | | instead just remove '!!' to make digittoint() work and re-arrange things a little Notes: svn path=/head/; revision=29855
* Fix digittoint broken long agoAndrey A. Chernov1997-09-252-28/+16
| | | | | | | | Redesign to allow digittoint work for runes too __maskrune removed, __istype become a macro, __runeflags added Notes: svn path=/head/; revision=29854
* Bandaid for the build-breaking reference to _BSD_RUNE_T_. I'm not surePeter Wemm1997-09-252-6/+6
| | | | | | | that this is right, but the old reference defaintely was not. Notes: svn path=/head/; revision=29843
* Submitted by: Sin'ichiro MIYATANI / Phase One, Inc <siu@phaseone.co.jp>Julian Elischer1997-09-242-2/+20
| | | | | | | | Basic support for the Shift JIS encoding of japanese. (and one tiny typo fixed in a comment) Notes: svn path=/head/; revision=29818
* Removed installhdrs target. It was an unnecessary complication.Bruce Evans1997-09-162-11/+4
| | | | Notes: svn path=/head/; revision=29504
* SYSV has both <poll.h> and <sys/poll.h>. (poll.h merely #includesPeter Wemm1997-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. Notes: svn path=/head/; revision=29370
* Add "options no_tld_query" to resolv.conf.Brian Somers1997-09-011-1/+2
| | | | | | | | | Mention the capability in resolver(5). Mention that RES_OPTIONS can be used in resolver(5). Discussed with: -hackers Notes: svn path=/head/; revision=28982
* Removed ifndef of AUTH_NONE. The conflict with login_cap.h was fixedBruce Evans1997-08-211-3/+1
| | | | | | | better by not defining AUTH_NONE in login_cap.h. Notes: svn path=/head/; revision=28544
* Don't traverse subdirectories twice for normal installs.Bruce Evans1997-08-211-1/+4
| | | | Notes: svn path=/head/; revision=28543
* Fix and simplify installhdrs target. It didn't install the headers inBruce Evans1997-08-211-7/+4
| | | | | | | ${HFILES} and it's simpler to install the non-headers in ${XFILES}. Notes: svn path=/head/; revision=28542
* fix a problem with headers not being installed properly... basicly theJohn-Mark Gurney1997-08-212-5/+10
| | | | | | | | | | installhdrs target was not being propagated to the subdirs... also fix rpcsvc's Makefile to have a installhdrs target to install the headers.. Notes: svn path=/head/; revision=28524
* Prototypes for getsid() and getpgid(). Also, prefix type names inPeter Wemm1997-08-191-1/+3
| | | | | | | setpgrp() prototype with _ as per style(9). Notes: svn path=/head/; revision=28402
* split beforeinstall hook up so that the header install stuff is reachablePeter Wemm1997-08-181-2/+4
| | | | | | | without risking invoking ${SHARED}. Notes: svn path=/head/; revision=28356
* Make this compile with the -traditional cc flag.Steve Price1997-08-161-2/+2
| | | | | | | | PR: misc/2189 Submitted by: Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de> Notes: svn path=/head/; revision=28271
* Fix typo: "send" -> "end"Bill Fenner1997-08-111-1/+1
| | | | | | | | PR: bin/3474 Submitted by: graphix@iastate.edu (Kent Vander Velden) Notes: svn path=/head/; revision=28057
* Import strptime(3) into libc. We've got permission by Kevin Ruddy toJoerg Wunsch1997-08-091-0/+1
| | | | | | | | | | | modify the original `no modifications' copyright message, and i've included his mail into the source file. The common localization functions between strptime(3) and strftime(3) have been broken out into timelocal.[ch]. Notes: svn path=/head/; revision=28021
* Implement dlsym(RTLD_NEXT, symbol).John Polstra1997-08-021-1/+3
| | | | Notes: svn path=/head/; revision=27838