aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Added missing prototype for sigaltstack()Sujal Patel1996-06-281-0/+1
| | | | Notes: svn path=/stable/2.1/; revision=16811
* This 3rd mega-commit should hopefully bring us back to where we were.Jordan K. Hubbard1996-06-0536-366/+228
| | | | | | | I can get it to `make world' succesfully, anyway! Notes: svn path=/stable/2.1/; revision=16121
* Phase 2 of merge - also fix things broken in phase 1.Jordan K. Hubbard1996-06-0335-227/+365
| | | | | | | | | | | | Watch out for falling rock until phase 3 is over! libc completely merged except for phkmalloc & rfork (don't know if David wants that). Some include files in sys/ had to be updated in order to bring in libc. Notes: svn path=/stable/2.1/; revision=16088
* Sync with HEAD: simplify NIS marker keysBill Paul1996-05-021-4/+1
| | | | Notes: svn path=/stable/2.1/; revision=15550
* Bring in _PATH_UUCPLOCK from HEAD.Jordan K. Hubbard1995-10-241-0/+1
| | | | Notes: svn path=/stable/2.1/; revision=11773
* Brought in changes from main branch: we no longer need tzfile.hDavid Greenman1995-08-311-4/+4
| | | | Notes: svn path=/stable/2.1/; revision=10504
* Brought in changes from main branch: your basic rewrite.David Greenman1995-08-301-14/+21
| | | | Notes: svn path=/stable/2.1/; revision=10451
* Brought in changes from main branch: update to BIND 4.9.3-beta24David Greenman1995-08-303-37/+59
| | | | Notes: svn path=/stable/2.1/; revision=10432
* Brought in changes from main branch: fixes for dlopen/dlclose.David Greenman1995-08-251-6/+14
| | | | Notes: svn path=/stable/2.1/; revision=10251
* Branch: RELENG_2_1_0Rodney W. Grimes1995-07-131-8/+7
| | | | | | | cvs update -j1.27 Makefile Notes: svn path=/stable/2.1/; revision=9516
* This commit was manufactured by cvs2svn to create branch 'RELENG_2_1_0'.cvs2svn1995-06-133-374/+0
| | | | Notes: svn path=/stable/2.1/; revision=9211
* Remove trailing whitespace.Rodney W. Grimes1995-05-3028-123/+123
| | | | Notes: svn path=/head/; revision=8858
* Add prototype for ypbinderr_string().Bill Paul1995-04-211-1/+2
| | | | Notes: svn path=/head/; revision=7983
* Don't declare rune_t, putenv() or setenv() if _POSIX_SOURCE is declared.Bruce Evans1995-04-151-21/+19
| | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=7865
* Add err_set_file() and err_set_exit() functions to make it possible forGarrett Wollman1995-04-131-0/+2
| | | | | | | | programs which use err(3) to work nicely in a wider range of environments (e.g., dialog). Notes: svn path=/head/; revision=7803
* Reviewed by: ache and wollman (long ago)Bruce Evans1995-04-072-104/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix numerous ANSI conformance bugs and other nits. ctype.h: o There were no prototypes behind the macros (conformance bug). o isascii() didn't have enough parentheses (plain bug). o tolower() and toupper were always static inline (conformance bug? You could undef them and take their address, but this gave different addresses in different modules. You couldn't undef them and declare them (correctly) again). <stdio.h>'s treatment of putc() shows one way to handle this problem, but it only works because the putc() macro is allowed to reevaluate its args. I used a hack controlled by _EXTERNALIZE_CTYPE_INLINES_ to get <ctype.h> to generate the code (the previous hack involving _ANSI_LIBRARY_ goes away). This has the advantage that the core of the functions is only written down once and the disadvantage that another layer of functions is required. The extra layer goes away if inline functions are used, leaving only the problem of understanding why there are functions named toupper(), __toupper and ___toupper() as well as a macro named toupper. o Nothing seems to define _USE_CTYPE_LIBRARY_. Eliminate it o Let the user set _USE_CTYPE_INLINE_ and _DONT_USE_CTYPE_INLINE_ for full control over inlining. o The args for the inline functions didn't have enough underscores (conformance bug). o The formatting and ordering was inconsistent (style bug). o TODO: fix conformance bugs brought by including <runetype.h>. Notes: svn path=/head/; revision=7655
* Move inline args out of user namespace.Andrey A. Chernov1995-04-072-40/+40
| | | | | | | Obtained from: 1.x Notes: svn path=/head/; revision=7654
* Add a necessary include file for the catgets* routines.Jordan K. Hubbard1995-03-302-2/+50
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=7495
* add strhash.h for libc's new string hashing function.Jordan K. Hubbard1995-03-262-3/+67
| | | | Notes: svn path=/head/; revision=7387
* Add a couple of extra #defines for special keys to be embedded in theBill Paul1995-03-231-0/+4
| | | | | | | | | | | | | | | password databases: #define _PW_KEYPLUSBYNUM '5' /* special +@netgroup entries */ #define _PW_KEYMINUSBYNUM '6' /* special -@netgroup entries */ #define _PW_KEYPLUSCNT '7' /* number of +@netgroup entries */ #define _PW_KEYMINUSCNT '8' /* number of -@netgroup entries */ This is to help getpwent.c in libc build the +@netgroup/-@netgroup caches. Notes: svn path=/head/; revision=7256
* A little fix related to libm/msun migration.Poul-Henning Kamp1995-03-221-2/+2
| | | | | | | | Reviewed by: phk Submitted by: rgrimes Notes: svn path=/head/; revision=7242
* Comment out declaration of kvm_uread until it can be fixed correctly.Rodney W. Grimes1995-03-201-0/+2
| | | | Notes: svn path=/head/; revision=7189
* Change u_long to unsigned long to be consistent.Rodney W. Grimes1995-03-201-1/+2
| | | | Notes: svn path=/head/; revision=7188
* libkvm exports kvm_uread(), so do declare it in the header file.Joerg Wunsch1995-03-191-0/+1
| | | | | | | Got apparent by Philippe's -Wall patch for /usr/bin. Notes: svn path=/head/; revision=7167
* Create osreldate.h from sys/conf/newvers.sh if we an find it. ThisPoul-Henning Kamp1995-03-191-2/+10
| | | | | | | | should take a completely ridiculous reboot out of the "make release" process... Notes: svn path=/head/; revision=7152
* Correct chmod of /usr/include/rpcsvc to match mtree file.Rodney W. Grimes1995-03-181-2/+2
| | | | Notes: svn path=/head/; revision=7132
* Temporarily add mkdir/chown of /usr/include/${LUDIR} so that thingsRodney W. Grimes1995-03-181-1/+3
| | | | | | | | are consistent with the mtree file. These and all other mkdir/chown/ chmod calls shall be removed in a future version of this file. Notes: svn path=/head/; revision=7131
* Forward-declare `struct rpc_err' so that it isn't declared inside aBruce Evans1995-03-121-1/+2
| | | | | | | prototype when <rpc/clnt.h> isn't included. Notes: svn path=/head/; revision=7027
* make sys_nerr __const.Poul-Henning Kamp1995-03-041-1/+1
| | | | | | | | Reviewed by: phk Submitted by: ollivier Notes: svn path=/head/; revision=6895
* Weak symbol support from NetBSD. This should bring us in sync with theNate Williams1995-03-041-5/+10
| | | | | | | | | | | NetBSD ld code except for local changes for dlopen() and friends and the hashing on the minor value of the shlibs. We should be binary compatible now with all their libraries. Obtained from: NetBSD Notes: svn path=/head/; revision=6887
* The bootparam protocol file needs some extra includes in FreeBSD in orderBill Paul1995-02-261-1/+5
| | | | | | | | | | | | to properly resolve some definitions in <nfs/nfs.h>. I suppose nobody noticed this before because no one's tried to build bootparamd in FreeBSD until now. (Yes, you read that right: I've got bootparamd ready to go. And rarpd is on the way. :) Notes: svn path=/head/; revision=6747
* Remove a couple of nested comments.Poul-Henning Kamp1995-02-242-4/+6
| | | | Notes: svn path=/head/; revision=6685
* Make the argument list for the (non-Posix) fchown() consistent withJoerg Wunsch1995-02-161-1/+1
| | | | | | | | | Posix chown(), and also with the man page. Submitted by: Doug Rabson <dfr@render.com> Notes: svn path=/head/; revision=6490
* Define CLK_TCK right.Bruce Evans1995-02-081-1/+1
| | | | Notes: svn path=/head/; revision=6243
* Support for more Sun compatible dlopen() and friends. Also added proper errorJordan K. Hubbard1995-02-071-8/+3
| | | | | | | | | handling. Reviewed by: gj Submitted by: Mark Diekhans <markd@grizzly.com> Notes: svn path=/head/; revision=6232
* Define CLOCKS_PER_SEC.Bruce Evans1995-02-031-2/+11
| | | | | | | | | | | Define CLK_TCK only if _ANSI_SOURCE is not defined. Don't include <machine/limits.h> to get the definition of CLK_TCK. CLK_TCK should never have been defined there, and the inclusion polluted the namespace. Notes: svn path=/head/; revision=6164
* Need _PATH_YP for ypserver stuff.Bill Paul1995-01-311-0/+1
| | | | Notes: svn path=/head/; revision=6083
* Declare useful functions (timelocal() and timegm())Andrey A. Chernov1994-12-261-0/+2
| | | | Notes: svn path=/head/; revision=5231
* Document some of the fields used by the new shlib code.Nate Williams1994-12-231-1/+6
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=5207
* Reviewed by: Bruce EvansAndreas Schulz1994-11-211-0/+10
| | | | | | | | Add prototypes for the *rand48 family here in the moment to get them running again. Notes: svn path=/head/; revision=4749
* By Bruce and Joerg suggestions and by looking into June versionAndrey A. Chernov1994-11-171-15/+4
| | | | | | | | of NetBSD simple #include <stdlib.h> into malloc.h Put #warning that this file is obsoleted ( by Joerg suggestion) Notes: svn path=/head/; revision=4549
* Add malloc.h for better SYSV/Linux compatibility like mostAndrey A. Chernov1994-11-152-2/+18
| | | | | | | | providers (like SUN f.e.) does. malloc.h have comment about its SYSVism Notes: svn path=/head/; revision=4499
* Clean up install rulesPaul Traina1994-11-011-5/+4
| | | | Notes: svn path=/head/; revision=4044
* Delete the clean and cleandir target and let the bsd.prog.mk do theAndreas Schulz1994-10-311-2/+2
| | | | | | | | work. Error was with the private clean/cleandir pair, the obj under include/rpcsvc doesn't get cleaned out. Notes: svn path=/head/; revision=4019
* Delete `vax' (and `i386' and `hp300' etc.) namespace pollution.Garrett Wollman1994-10-301-6/+6
| | | | | | | | | | Our one supported compiler always defines the double-underscore variant, so always use that. Noticed by Bruce Evans after a report by John Capo. Notes: svn path=/head/; revision=3999
* Install f2c.h for FORTRAN support.L Jonas Olsson1994-10-262-2/+216
| | | | | | | Obtained from: netlib.att.com Notes: svn path=/head/; revision=3908
* Improve error detection and handling:Bruce Evans1994-10-251-11/+13
| | | | | | | | | | | | Reduce _JBLEN for the i386 to what is actually used. Encapsulate jmp_buf and sigjmp_buf in structs. Enlarge jmp_buf to the same size as sigjmp_buf. Declare *longjmp as non-returning. Remove stale comments about sig*jmp not being implemented. Notes: svn path=/head/; revision=3852
* Remove EOF handling after Bruce explanation. This step returnsAndrey A. Chernov1994-10-092-26/+0
| | | | | | | | to 4.4 way to not allow EOF in ctype and now all signed chars (including '\377' which becomes EOF) converted to (unsigned char) properly. Notes: svn path=/head/; revision=3456
* Handle EOF case in all macros by ANSI standard.Andrey A. Chernov1994-10-082-0/+42
| | | | | | | | Cast all ints < 0 to (unsigned char) to fix common problem with sign extention on signed char. Notes: svn path=/head/; revision=3433
* Don't install symlink frame.h -> machine/frame.h. <frame.h> is nonstandardBruce Evans1994-10-031-2/+2
| | | | | | | and unused. Notes: svn path=/head/; revision=3329