summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Remove NOOBJ, we now need it.rgrimes1995-07-131-4/+2
| | | | | Remove JUST_TELL_ME hack, let the newvers.sh output fall into the obj dir, and add CLEANFILES= to clean up after it.
* Add a sprinkling of ${.CURDIR} to some paths so that this worksrgrimes1995-07-131-5/+6
| | | | | in the presence of an obj dir (though NOOBJ is set now, that shall change in the near future.)
* Fix a bug I didn't manage to trigger until after committing previouswollman1995-06-291-3/+3
| | | | fix to header installation.
* Make this include installation conform to the standard of all the rest:wollman1995-06-291-14/+20
| | | | | | | | - Don't do mkdir/chown/chmod - Do `cmp -s' before attempting to install a header This should fix the obnoxious problem of yp programs wanting to rebuild every time.
* Fix standards conformance bugs in <signal.h>:bde1995-06-281-8/+10
| | | | | | | | | | | | | | | | | | | | | include/signal.h: There was massive namespace pollution from including <sys/types.h>. POSIX functions were declared even when _ANSI_SOURCE is defined. sys.sys/signal.h: NSIG was declared even if _ANSI_SOURCE or _POSIX_SOURCE is defined. sig_atomic_t wasn't declared if _POSIX_SOURCE is defined. Declare a typedef for signal handling functions and use it to unobfuscate declarations and to avoid half-baked function types that cause unwanted compiler warnings at certain warning levels. Fix confusing comment about SA_RESTART. sys/i386/include/signal.h: This has to be included to get the declaration of sig_atomic_t even when _ANSI_SOURCE is defined, so be more careful about polluting the ANSI namespace. Uniformize idempotency ifdefs.
* Changes to support version 3 of the NFS protocol.dfr1995-06-271-2/+0
| | | | | | | | | | | | | | | | | | The version 2 support has been tested (client+server) against FreeBSD-2.0, IRIX 5.3 and FreeBSD-current (using a loopback mount). The version 2 support is stable AFAIK. The version 3 support has been tested with a loopback mount and minimally against an IRIX 5.3 server. It needs more testing and may have problems. I have patched amd to support the new variable length filehandles although it will still only use version 2 of the protocol. Before booting a kernel with these changes, nfs clients will need to at least build and install /usr/sbin/mount_nfs. Servers will need to build and install /usr/sbin/mountd. NFS diskless support is untested. Obtained from: Rick Macklem <rick@snowhite.cis.uoguelph.ca>
* Change ld.so to correctly load dependant libraries for dlopen and unload themdfr1995-06-271-6/+14
| | | | | | | | | | | | | | | | | on dlclose. Also correctly call constructors and destructors for libraries linked with /usr/lib/c++rt0.o. Change interpretation of dlopen manpage to call _init() rather than init() for dlopened objects. Change c++rt0.o to avoid using atexit to call destructors, allowing dlclose to call destructors when an object is unloaded. Change interface between crt0 and ld.so to allow crt0 to call a function on exit to call destructors for shared libraries explicitly. These changes are backwards compatible. Old binaries will work with the new ld.so and new binaries will work with the old ld.so. A version number has been introduced in the crt0-ld.so interface to allow for future changes. Reviewed by: GAWollman, Craig Struble <cstruble@singularity.bevc.blacksburg.va.us>
* Remove trailing whitespace.rgrimes1995-05-3028-123/+123
|
* Add prototype for ypbinderr_string().wpaul1995-04-211-1/+2
|
* Don't declare rune_t, putenv() or setenv() if _POSIX_SOURCE is declared.bde1995-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.
* Add err_set_file() and err_set_exit() functions to make it possible forwollman1995-04-131-0/+2
| | | | | programs which use err(3) to work nicely in a wider range of environments (e.g., dialog).
* Reviewed by: ache and wollman (long ago)bde1995-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>.
* Move inline args out of user namespace.ache1995-04-072-40/+40
| | | | Obtained from: 1.x
* Add a necessary include file for the catgets* routines.jkh1995-03-302-2/+50
| | | | Obtained from: NetBSD
* add strhash.h for libc's new string hashing function.jkh1995-03-262-3/+67
|
* Add a couple of extra #defines for special keys to be embedded in thewpaul1995-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.
* A little fix related to libm/msun migration.phk1995-03-221-2/+2
| | | | | Reviewed by: phk Submitted by: rgrimes
* Comment out declaration of kvm_uread until it can be fixed correctly.rgrimes1995-03-201-0/+2
|
* Change u_long to unsigned long to be consistent.rgrimes1995-03-201-1/+2
|
* libkvm exports kvm_uread(), so do declare it in the header file.joerg1995-03-191-0/+1
| | | | Got apparent by Philippe's -Wall patch for /usr/bin.
* Create osreldate.h from sys/conf/newvers.sh if we an find it. Thisphk1995-03-191-2/+10
| | | | | should take a completely ridiculous reboot out of the "make release" process...
* Correct chmod of /usr/include/rpcsvc to match mtree file.rgrimes1995-03-181-2/+2
|
* Temporarily add mkdir/chown of /usr/include/${LUDIR} so that thingsrgrimes1995-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.
* Forward-declare `struct rpc_err' so that it isn't declared inside abde1995-03-121-1/+2
| | | | prototype when <rpc/clnt.h> isn't included.
* make sys_nerr __const.phk1995-03-041-1/+1
| | | | | Reviewed by: phk Submitted by: ollivier
* Weak symbol support from NetBSD. This should bring us in sync with thenate1995-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
* The bootparam protocol file needs some extra includes in FreeBSD in orderwpaul1995-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. :)
* Remove a couple of nested comments.phk1995-02-242-4/+6
|
* Make the argument list for the (non-Posix) fchown() consistent withjoerg1995-02-161-1/+1
| | | | | | Posix chown(), and also with the man page. Submitted by: Doug Rabson <dfr@render.com>
* Define CLK_TCK right.bde1995-02-081-1/+1
|
* Support for more Sun compatible dlopen() and friends. Also added proper errorjkh1995-02-071-8/+3
| | | | | | handling. Reviewed by: gj Submitted by: Mark Diekhans <markd@grizzly.com>
* Define CLOCKS_PER_SEC.bde1995-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.
* Need _PATH_YP for ypserver stuff.wpaul1995-01-311-0/+1
|
* Declare useful functions (timelocal() and timegm())ache1994-12-261-0/+2
|
* Document some of the fields used by the new shlib code.nate1994-12-231-1/+6
| | | | Obtained from: NetBSD
* Reviewed by: Bruce Evansats1994-11-211-0/+10
| | | | | Add prototypes for the *rand48 family here in the moment to get them running again.
* By Bruce and Joerg suggestions and by looking into June versionache1994-11-171-15/+4
| | | | | of NetBSD simple #include <stdlib.h> into malloc.h Put #warning that this file is obsoleted ( by Joerg suggestion)
* Add malloc.h for better SYSV/Linux compatibility like mostache1994-11-152-2/+18
| | | | | providers (like SUN f.e.) does. malloc.h have comment about its SYSVism
* Clean up install rulespst1994-11-011-5/+4
|
* Delete the clean and cleandir target and let the bsd.prog.mk do theats1994-10-311-2/+2
| | | | | work. Error was with the private clean/cleandir pair, the obj under include/rpcsvc doesn't get cleaned out.
* Delete `vax' (and `i386' and `hp300' etc.) namespace pollution.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.
* Install f2c.h for FORTRAN support.ljo1994-10-262-2/+216
| | | | Obtained from: netlib.att.com
* Improve error detection and handling:bde1994-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.
* Remove EOF handling after Bruce explanation. This step returnsache1994-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.
* Handle EOF case in all macros by ANSI standard.ache1994-10-082-0/+42
| | | | | Cast all ints < 0 to (unsigned char) to fix common problem with sign extention on signed char.
* Don't install symlink frame.h -> machine/frame.h. <frame.h> is nonstandardbde1994-10-031-2/+2
| | | | and unused.
* Only reinstall osreldate.h if necessarypst1994-09-291-5/+8
|
* skey.h has moved elsewherepst1994-09-291-2/+2
|
* Define _PATH_FTPUSERSpst1994-09-291-0/+1
|
* get* rework and new bind codepst1994-09-252-197/+245
|
OpenPOWER on IntegriCloud