aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* FILES support for bsd.prog.mk. See bsd.README for details.Ruslan Ermilov2001-12-171-16/+16
| | | | | | | Stolen from: NetBSD Notes: svn path=/head/; revision=88055
* Install devfs includes.Brian Feldman2001-12-171-1/+1
| | | | Notes: svn path=/head/; revision=88050
* Add bmake glue for src/contrib/smbfs and connect userland smbfsSheldon Hearn2001-12-141-0/+7
| | | | | | | | | | | | | support to the build. The MFC reminder below is subject to <re@FreeBSD.org> approval prior to 4.5-RELEASE. Reviewed by: bp, fjoe MFC: 1 week Notes: svn path=/head/; revision=87874
* * style(9)'ifyAlexey Zelkin2001-12-122-8/+8
| | | | | | | | | * add K&R support to langinfo.h Requested by: bde (2) Notes: svn path=/head/; revision=87744
* Get rid of unsed since rev 1.109 of lib/Makefile WANT_CSRG_LIBM define.Alexey Zelkin2001-12-111-3/+0
| | | | | | | | | | | | We'll never install math.h wrapped by this define since msun's math.h is using, so it should be removed from the source tree at some point (after merge of useful stuff to msun's math.h which is installing now to /usr/include) Reviewed by: bde Notes: svn path=/head/; revision=87663
* Add my e-mail to copyrightsAlexey Zelkin2001-12-112-2/+2
| | | | Notes: svn path=/head/; revision=87659
* An extra #ifdef crept in with rev 1.38.David E. O'Brien2001-12-051-1/+0
| | | | Notes: svn path=/head/; revision=87379
* Turn back on fmtcheck's attribute checks, guarded for non-GCC compilers.David E. O'Brien2001-12-041-1/+7
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=87369
* Remove the GCC'ism "__attribute__" from the 'fmtcheck' prototype.David E. O'Brien2001-12-041-2/+1
| | | | | | | I leave it up to someone else to fix this breakage properly. Notes: svn path=/head/; revision=87319
* Merge from master (crypto) telnet. WARNS fixes for alpha.Mark Murray2001-12-031-6/+6
| | | | Notes: svn path=/head/; revision=87268
* Add a missing underscore.Mike Barcroft2001-12-011-1/+1
| | | | | | | Submitted by: fenner Notes: svn path=/head/; revision=87159
* o Stop abusing MD headers with non-MD types.Mike Barcroft2001-12-011-9/+49
| | | | | | | | | | | | | | | | | | o Hide nonstandard functions and types in <netinet/in.h> when _POSIX_SOURCE is defined. o Add some missing types (required by POSIX.1-200x) to <netinet/in.h>. o Restore vendor ID from Rev 1.1 in <netinet/in.h> and make use of new __FBSDID() macro. o Fix some miscellaneous issues in <arpa/inet.h>. o Correct final argument for the inet_ntop() function (POSIX.1-200x). o Get rid of the namespace pollution from <sys/types.h> in <arpa/inet.h>. Reviewed by: fenner Partially submitted by: bde Notes: svn path=/head/; revision=87158
* o Improve consistency of style by fixing tabs around _PATH_AUTHCONF.Robert Watson2001-11-301-1/+1
| | | | Notes: svn path=/head/; revision=87136
* o Introduce _PATH_CAPABILITY and _PATH_CAPABILITY_DB to the systemRobert Watson2001-11-301-0/+2
| | | | | | | | | | path set. These files will hold per-user capability information. Obtained from: TrustedBSD Project Submitted by: tmm Notes: svn path=/head/; revision=87135
* Oops, actually fix the namespace pollution for atoll() as the previousBruce Evans2001-11-291-4/+4
| | | | | | | commit claimed to do. Notes: svn path=/head/; revision=87086
* Fixed namespace pollution and/or breakage of K&R and C90 support related toBruce Evans2001-11-281-16/+21
| | | | | | | | | | | | | | | | | | | | | | | | the following functions in the following commits: - atoll() in revs 1.23-1.25 - llabs() and lldiv() in revs 1.22 - strtoq() and strtouq() in revs 1.18 C99 functions must not be declared in C90/POSIX.1-1990 sections, and "long long" must not be exposed to compilers that don't support it. Fixed style bugs (mainly misindentation and disorder) related the following functions in the following commits: - atoll() in revs 1.23-1.25 - getprogname() in rev.1.21 - sranddev() in revs 1.19-1.20 - strtoq() and strtouq() in rev.1.13 - user_from_uid() in rev.1.1 Breakage of K&R and C90 support used to be avoided by conditializing the "long long"s for strtoq() and strtouq() on __STRICT_ANSI__, but the conditionals should have gone away in rev.1.13 when the "long long"s went away (the problem was moved to the places that declare quad_t and u_quad_t). Notes: svn path=/head/; revision=87071
* Fixed namespace pollution in previous commit. The C99 functionBruce Evans2001-11-281-1/+1
| | | | | | | | sterror_r() must not be declared in the C90/POSIX.1-1990 section. Put it in the nonstandard section for now. Notes: svn path=/head/; revision=87069
* Whitespace formattingAndrey A. Chernov2001-11-281-1/+2
| | | | Notes: svn path=/head/; revision=87021
* Fix just added atoll prototypeAndrey A. Chernov2001-11-281-1/+1
| | | | Notes: svn path=/head/; revision=87019
* Add atoll(3) to conform POSIX and C99Andrey A. Chernov2001-11-281-0/+1
| | | | Notes: svn path=/head/; revision=87017
* Add strerror_r function per Posix prototype.Wes Peters2001-11-271-0/+1
| | | | | | | | Reviewed by: Mike Barcroft <mike@FreeBSD.org> MFC after: 2 weeks Notes: svn path=/head/; revision=86944
* Introduce readpassphrase(3), a superset of getpass(3). ThisBrian Feldman2001-11-202-1/+48
| | | | | | | | | comes originally from Todd Miller. Obtained from: OpenBSD Notes: svn path=/head/; revision=86669
* Install LOMAC includes from the new directory.Brian Feldman2001-11-201-2/+2
| | | | Notes: svn path=/head/; revision=86667
* Use fixed-size fields in the structure for the timed protocol. ThisJohn Baldwin2001-11-201-4/+9
| | | | | | | | | | | | includes changing a struct timeval to an explicit structure of two int32_t's. This requires using temporary timevals in several places when calling gettimeofday(), settimeofday(), etc. With this timed now works properly on 64-bit platforms such as Alpha. Obtained from: NetBSD Notes: svn path=/head/; revision=86644
* Install LOMAC public headers.Brian Feldman2001-11-191-0/+5
| | | | | | | Sponsored by: DARPA, NAI Labs (CBOSS project) Notes: svn path=/head/; revision=86574
* o Implement imaxabs(), imaxdiv(), llabs(), lldiv().Mike Barcroft2001-11-152-2/+15
| | | | | | | | | | o Update abs(3), div(3), labs(3), ldiv(3) to reflect standards conformance and add additional references. Reviewed by: bde, wollman Notes: svn path=/head/; revision=86368
* NFS split forgot to prototype nfsclnt() syscall, do it.Alfred Perlstein2001-11-131-0/+1
| | | | Notes: svn path=/head/; revision=86317
* - Put missing prototype for rcmd() in <unistd.h>.Ruslan Ermilov2001-11-091-0/+2
| | | | | | | | | | - Clean up the manpage. - style(9) rcmdsh.c. Committed from: BSDCon/EU 2k+1 terminal room Notes: svn path=/head/; revision=86214
* Traditionally work in the -traditional case.David E. O'Brien2001-11-071-0/+4
| | | | | | | Submitted by: joerg Notes: svn path=/head/; revision=86178
* Remove FreeBSD/vax and FreeBSD/tahoe support.Peter Wemm2001-11-031-17/+1
| | | | | | | | | Add $FreeBSD$ Submitted by: phk Notes: svn path=/head/; revision=85961
* o Add new header <sys/stdint.h>.Mike Barcroft2001-11-022-2/+56
| | | | | | | | | | | | | | | | | | | | | | | | o Make <stdint.h> a symbolic link to <sys/stdint.h>. o Move most of <sys/inttypes.h> into <sys/stdint.h>, as per C99. o Remove <sys/inttypes.h>. o Adjust includes in sys/types.h and boot/efi/include/ia64/efibind.h to reflect new location of integer types in <sys/stdint.h>. o Remove previously symbolicly linked <inttypes.h>, instead create a new file. o Add MD headers <machine/_inttypes.h> from NetBSD. o Include <sys/stdint.h> in <inttypes.h>, as required by C99; and include <machine/_inttypes.h> in <inttypes.h>, to fill in the remaining requirements for <inttypes.h>. o Add additional integer types in <machine/ansi.h> and <machine/limits.h> which are included via <sys/stdint.h>. Partially obtain from: NetBSD Tested on: alpha, i386 Discussed on: freebsd-standards@bostonradio.org Reviewed by: bde, fenner, obrien, wollman Notes: svn path=/head/; revision=85892
* Add time_to_int(), int_to_time(), time_to_long(), long_to_time().Matthew Dillon2001-10-281-0/+4
| | | | Notes: svn path=/head/; revision=85636
* Make the protocol/dumprestore.h header match restore's idea of the dumpMatthew Dillon2001-10-281-2/+4
| | | | | | | | | | | header for the case where sizeof(time_t) != sizeof(int). dumprestore.h was embedding time_t when it should have been embedding int32_t. Use time_to_time32() and time32_to_time() to convert between the protocoll/file-format time and time_t. Notes: svn path=/head/; revision=85635
* Add routines to convert time_t to/from fixed-bit fields. These routinesMatthew Dillon2001-10-281-0/+7
| | | | | | | | | | | | | | | | | | | | | | serve two purposes: (1) so we can maintain backwards compatibility with protocols (rwhod, dump, etc...) that either assume time_t is 32 bits or assume sizeof(time_t) == sizeof(int), or make other similar assumptions. (2) To tag such routines (by the presence of these calls) for future cleanup/extension work. The 32->64 routine, time32_to_time() (when time_t is 64 bits, that is), is defined specifically to implement temporal locality to properly set the msb bits of a 64 bit time_t quantity, using the 50 year rule. The locality code has not been implemented yet (and doesn't need to be for a while), but that is the intent. This will allow us to maintain backwards protocol compatibility past 2038. These routines are intended to be platform and time_t agnostic. MFC after: 1 week Notes: svn path=/head/; revision=85634
* ll_time and ut_time are int32_t on disk and have to remain that wayPeter Wemm2001-10-271-2/+2
| | | | | | | unless we dont want to run 4.x binaries any more. Notes: svn path=/head/; revision=85609
* Restore K&R prototype. Fix other style bugs.Mike Barcroft2001-10-271-8/+9
| | | | | | | Reviewed by: asmodai, bde Notes: svn path=/head/; revision=85605
* Diff-reduce these two.Mark Murray2001-10-271-2/+3
| | | | | | | | | | Really, one of them needs to disappear. I'll figure out which later. Reported by: bde Notes: svn path=/head/; revision=85600
* Resume deorbit burn sequence for <malloc.h>. Inspection of my make logsGarrett Wollman2001-10-251-5/+2
| | | | | | | | reveals no programs in the standard build which hit the previous warning message. This change will NOT be merged to 4-stable. Notes: svn path=/head/; revision=85454
* Add $FreeBSD$.Jeroen Ruigrok van der Werven2001-10-241-3/+6
| | | | | | | | | Change assert() macro to print failing function name. Change K&R function prototype wrapper to ANSI prototype. This makes us C99 conforming. Notes: svn path=/head/; revision=85421
* Fixed some style bugs:Bruce Evans2001-10-101-3/+3
| | | | | | | | | - rev.1.6: corrupt tab before strlcpy. - rev.1.7: "From: " in vendor id. - rev.1.8: unsorted prototype for strccasestr. Notes: svn path=/head/; revision=84747
* Implement strcasestr() which many others (f.e. Linux) already haveAndrey A. Chernov2001-10-101-0/+1
| | | | Notes: svn path=/head/; revision=84741
* Add a new libc function, strnstr(3), which allows one to limit theMike Barcroft2001-10-091-1/+3
| | | | | | | | | | | number of characters that are searched. This is especially useful with file operations and non-NUL terminated strings. Silence from: -audit, -hackers MFC after: 5 days Notes: svn path=/head/; revision=84699
* Add compatibility functions for the AF_LOCAL RPC transport stuffBill Paul2001-10-042-0/+15
| | | | | | | | that used to live in RPC 4.0. This is needed for yppasswd and rpc.yppasswdd to work correctly. Patch supplied by Martin Blapp. Notes: svn path=/head/; revision=84487
* Fixed order of includes. <sys/cdefs.h> must be included beforeBruce Evans2001-10-041-9/+6
| | | | | | | | | | | | <machine/ansi.h> for the definition of __signed, unless the compiler is gcc. Moved the declaration of socklen_t up together with the declaration of size_t, and removed low-quality comment about this declaration. Declaring socklen_t in this file is normal in POSIX-1.200x, unlike declaring size_t. Notes: svn path=/head/; revision=84463
* Fixed some style bugs.Bruce Evans2001-10-041-4/+4
| | | | Notes: svn path=/head/; revision=84442
* Fixed namespace pollution:Bruce Evans2001-10-041-3/+12
| | | | | | | | | - only declare the application symbols specified in Posix.1-200x drafts, not everything in <sys/types.h> and <stddef.h>. - don't use the application symbol 'm' for an arg name. Notes: svn path=/head/; revision=84441
* Back out WIP that snuck in with revs 1.15[23].David E. O'Brien2001-10-011-1/+0
| | | | Notes: svn path=/head/; revision=84328
* Merge style with NetBSD -- ANSI-C prototypes, style(9) tabing, etc.David E. O'Brien2001-10-011-39/+38
| | | | Notes: svn path=/head/; revision=84326
* Merge functional changes from NetBSD.David E. O'Brien2001-10-011-22/+32
| | | | Notes: svn path=/head/; revision=84325
* *** empty log message ***David E. O'Brien2001-10-011-0/+1
| | | | Notes: svn path=/head/; revision=84261