diff options
| author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 05:05:38 +0000 |
|---|---|---|
| committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 05:05:38 +0000 |
| commit | 4399be3cbd35324f7a2c00d77229d995b4022138 (patch) | |
| tree | a3959baf797787918878bec6d58d6a0fb743ad0a /gnu/libexec/uucp/libuucp | |
| parent | 709e8f9ae1d734c1a163c9b421df4b8153939ce7 (diff) | |
Notes
Diffstat (limited to 'gnu/libexec/uucp/libuucp')
| -rw-r--r-- | gnu/libexec/uucp/libuucp/crc.c | 12 | ||||
| -rw-r--r-- | gnu/libexec/uucp/libuucp/debug.c | 4 | ||||
| -rw-r--r-- | gnu/libexec/uucp/libuucp/escape.c | 2 | ||||
| -rw-r--r-- | gnu/libexec/uucp/libuucp/getop1.c | 6 | ||||
| -rw-r--r-- | gnu/libexec/uucp/libuucp/getopt.c | 4 | ||||
| -rw-r--r-- | gnu/libexec/uucp/libuucp/memchr.c | 8 | ||||
| -rw-r--r-- | gnu/libexec/uucp/libuucp/parse.c | 8 |
7 files changed, 22 insertions, 22 deletions
diff --git a/gnu/libexec/uucp/libuucp/crc.c b/gnu/libexec/uucp/libuucp/crc.c index fc9687b57cf8..323adcb1408c 100644 --- a/gnu/libexec/uucp/libuucp/crc.c +++ b/gnu/libexec/uucp/libuucp/crc.c @@ -78,14 +78,14 @@ static const unsigned long aicrc32tab[] = { /* CRC polynomial 0xedb88320 */ }; /* - * IUPDC32 macro derived from article Copyright (C) 1986 Stephen Satchell. + * IUPDC32 macro derived from article Copyright (C) 1986 Stephen Satchell. * NOTE: First argument must be in range 0 to 255. * Second argument is referenced twice. - * - * Programmers may incorporate any or all code into their programs, - * giving proper credit within the source. Publication of the - * source routines is permitted so long as proper credit is given - * to Stephen Satchell, Satchell Evaluations and Chuck Forsberg, + * + * Programmers may incorporate any or all code into their programs, + * giving proper credit within the source. Publication of the + * source routines is permitted so long as proper credit is given + * to Stephen Satchell, Satchell Evaluations and Chuck Forsberg, * Omen Technology. */ diff --git a/gnu/libexec/uucp/libuucp/debug.c b/gnu/libexec/uucp/libuucp/debug.c index 16c1b54891a8..e722e2ce8de9 100644 --- a/gnu/libexec/uucp/libuucp/debug.c +++ b/gnu/libexec/uucp/libuucp/debug.c @@ -137,7 +137,7 @@ cdebug_char (z, ichar) *z++ = b; *z = '\0'; return 2; -} +} /* Display a buffer when debugging. */ @@ -162,7 +162,7 @@ udebug_buffer (zhdr, zbuf, clen) *z++ = '.'; } *z = '\0'; - + ulog (LOG_DEBUG, "%s %lu \"%s\"", zhdr, (unsigned long) clen, zalc); ubuffree (zalc); diff --git a/gnu/libexec/uucp/libuucp/escape.c b/gnu/libexec/uucp/libuucp/escape.c index 646b787d6e43..261accb513df 100644 --- a/gnu/libexec/uucp/libuucp/escape.c +++ b/gnu/libexec/uucp/libuucp/escape.c @@ -12,7 +12,7 @@ cescape (z) char *z; { char *zto, *zfrom; - + zto = z; zfrom = z; while (*zfrom != '\0') diff --git a/gnu/libexec/uucp/libuucp/getop1.c b/gnu/libexec/uucp/libuucp/getop1.c index c3ebc08bb3f3..41b9bb47b032 100644 --- a/gnu/libexec/uucp/libuucp/getop1.c +++ b/gnu/libexec/uucp/libuucp/getop1.c @@ -5,12 +5,12 @@ under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. @@ -38,7 +38,7 @@ getopt_long (argc, argv, options, long_options, opt_index) but does match a short option, it is parsed as a short option instead. */ -int +int getopt_long_only (argc, argv, options, long_options, opt_index) int argc; char *const *argv; diff --git a/gnu/libexec/uucp/libuucp/getopt.c b/gnu/libexec/uucp/libuucp/getopt.c index f97c64eda545..8c35f8468650 100644 --- a/gnu/libexec/uucp/libuucp/getopt.c +++ b/gnu/libexec/uucp/libuucp/getopt.c @@ -9,12 +9,12 @@ under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. diff --git a/gnu/libexec/uucp/libuucp/memchr.c b/gnu/libexec/uucp/libuucp/memchr.c index e1f399afeb36..fd6eb8335793 100644 --- a/gnu/libexec/uucp/libuucp/memchr.c +++ b/gnu/libexec/uucp/libuucp/memchr.c @@ -53,9 +53,9 @@ memchr (s, c, n) /* Bits 31, 24, 16, and 8 of this number are zero. Call these bits the "holes." Note that there is a hole just to the left of each byte, with an extra at the end: - + bits: 01111110 11111110 11111110 11111111 - bytes: AAAAAAAA BBBBBBBB CCCCCCCC DDDDDDDD + bytes: AAAAAAAA BBBBBBBB CCCCCCCC DDDDDDDD The 1-bits make sure that carries propagate to the next 0-bit. The 0-bits provide holes for carries to fall into. */ @@ -108,10 +108,10 @@ memchr (s, c, n) /* Add MAGIC_BITS to LONGWORD. */ if ((((longword + magic_bits) - + /* Set those bits that were unchanged by the addition. */ ^ ~longword) - + /* Look at only the hole bits. If any of the hole bits are unchanged, most likely one of the bytes was a zero. */ diff --git a/gnu/libexec/uucp/libuucp/parse.c b/gnu/libexec/uucp/libuucp/parse.c index d40da8086b66..d829fa92b79e 100644 --- a/gnu/libexec/uucp/libuucp/parse.c +++ b/gnu/libexec/uucp/libuucp/parse.c @@ -26,7 +26,7 @@ #include "uucp.h" #if USE_RCS_ID -const char parse_rcsid[] = "$Id: parse.c,v 1.6 1994/03/26 04:42:39 ian Rel $"; +const char parse_rcsid[] = "$Id: parse.c,v 1.2 1994/05/07 18:13:33 ache Exp $"; #endif #include "uudefs.h" @@ -104,7 +104,7 @@ fparse_cmd (zcmd, qcmd) if (z == NULL) return FALSE; qcmd->zto = z; - + z = strtok ((char *) NULL, " \t\n"); if (z == NULL) return FALSE; @@ -155,7 +155,7 @@ fparse_cmd (zcmd, qcmd) } return TRUE; - } + } z = strtok ((char *) NULL, " \t\n"); if (z == NULL) @@ -203,7 +203,7 @@ fparse_cmd (zcmd, qcmd) } else if (qcmd->bcmd == 'E') return FALSE; - + if (z != NULL) { z = strtok ((char *) NULL, ""); |
