summaryrefslogtreecommitdiffstats
path: root/usr.bin/m4/extern.h
Commit message (Collapse)AuthorAgeFilesLines
* Reduce diff with upstream.jkim2013-05-031-1/+1
|
* More -Wmissing-variable-declarations fixes.ed2012-10-201-0/+1
| | | | | | | | | | In addition to adding missing `static' keywords: - bin/dd: Pull in `extern.h' to guarantee consistency with source file. - libexec/rpc.rusersd: Move shared globals into an extern.h. - libexec/talkd: Move `debug' and `hostname' into extern.h. - usr.bin/cksum: Put counters in extern.h, as they are used by ckdist/mtree. - usr.bin/m4: Move `end_result' into extern.h. - usr.sbin/services_mkdb: Move shared globals into an extern.h.
* Improve m4 compatibility with GNU m4 extension ** (exponent)bapt2012-04-151-0/+1
| | | | | Submitted by: Marc Espie (espie@OpenBSD.org) Approved by: des@ (mentor)
* Synchronize with laster version of m4 from OpenBSD and NetBSDbapt2011-11-281-50/+56
| | | | | | | | This bring better compatibility with gnum4 Reviewed by: cognet Approved by: cognet Obtained from: OpenBSD, NetBSD
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-111-4/+0
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* Store a pointer to "null" in struct ndblock's defn member instead of atjr2004-08-161-1/+1
| | | | | | | | duplicate allocated on the heap; the address defn points to is significant, and is checked against the address of "null" in certain conditionals. PR: 59883 MFC after: 1 week
* Kill extraneous whitespace.jmallett2002-07-151-3/+3
|
* Prevent sign extension (again)ache2002-04-201-1/+1
|
* Crank WARNS.jmallett2002-04-201-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | Cast sizeof() to (int), as it's being compared against an int, not a size_t. If i is changed to a size_t, it means the logic must be slightly changed later in the flow, where --i is checked to be >= 0. I am not sure I want to make a logic change to account for clearing up a warning, when an aesthetic one will keep from modifying the logic. Other harmless casts, that I think I've made in the right directions. Make gpbc() an inline function, rather than an obfuscated macro, make its scratch space local, rather than global. The previous macro used a dirty hack (logical AND in place of a conditional) which would lead GCC to throw a fit (rightly so) as the logical check, as well as the incrementation of a variable, were not used for anything. const'ify a few places where gcc3 yells. xstrdup() some global consts in places where we xstrdup() when not using consts, but tried to assign them to non-consts before. Don't use execv(2) if we don't have the kind of arguments it wants. Reviewed by: asmodai obrien tjr Submitted by: tjr (a gcc3 build log)
* Bring OpenBSD m4(1) off of the OPENBSD vendor branch, and add the -s option,jmallett2002-04-191-49/+108
| | | | | | | $FreeBSD$ identifiers, and fix initialisation to stderr to happen in a function as stderr is not the same in CURRENT as in OpenBSD. Reviewed by: obrien
* This adds support for -s to the m4(1) utility, which causes #line directivesjmallett2002-04-171-0/+5
| | | | | | | | | | to be emitted as per the C preprocessor. It updates the manual page in regards to standards accordingly. PR: standards/36075 Submitted by: tjr Reviewed by: mike MFC after: 1 week
* remove __Pimp2002-03-221-30/+30
|
* Remove the local basename in favor of the libc version.obrien2001-07-241-3/+0
| | | | Remove xmalloc and xstrdup and do the error checking at the place of use.
* Clean up temporary file(s) and directory when m4 exits without fallinggshapiro2001-04-161-0/+3
| | | | | | through main() (e.g., signals or calls to errx()). PR: conf/25715
* Use err(3) instead of local redefinition. Remove progname.charnier1997-07-231-2/+0
|
* Make m4 more 8bit clean.ache1994-12-181-6/+6
| | | | | | Don't use is*(EOF) This fix core dump when LANG setted to 8bit wide charset and ENABLE_STARTUP_LOCALE
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+96
OpenPOWER on IntegriCloud