whitespace cleanup
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
This commit is contained in:
parent
66cb7bed33
commit
fb132e4737
@ -134,15 +134,14 @@ void generateMTFValues(EState* s)
|
|||||||
* holds the original block data.
|
* holds the original block data.
|
||||||
*
|
*
|
||||||
* The first thing to do is generate the MTF values,
|
* The first thing to do is generate the MTF values,
|
||||||
* and put them in
|
* and put them in ((uint16_t*)s->arr1)[0 .. s->nblock-1].
|
||||||
* ((uint16_t*)s->arr1)[0 .. s->nblock-1].
|
*
|
||||||
* Because there are strictly fewer or equal MTF values
|
* Because there are strictly fewer or equal MTF values
|
||||||
* than block values, ptr values in this area are overwritten
|
* than block values, ptr values in this area are overwritten
|
||||||
* with MTF values only when they are no longer needed.
|
* with MTF values only when they are no longer needed.
|
||||||
*
|
*
|
||||||
* The final compressed bitstream is generated into the
|
* The final compressed bitstream is generated into the
|
||||||
* area starting at
|
* area starting at &((uint8_t*)s->arr2)[s->nblock]
|
||||||
* &((uint8_t*)s->arr2)[s->nblock]
|
|
||||||
*
|
*
|
||||||
* These storage aliases are set up in bzCompressInit(),
|
* These storage aliases are set up in bzCompressInit(),
|
||||||
* except for the last one, which is arranged in
|
* except for the last one, which is arranged in
|
||||||
|
@ -1067,7 +1067,8 @@ static int check_deps(deb_file_t **deb_file, int deb_start /*, int dep_max_count
|
|||||||
|
|
||||||
if (package_edge->type == EDGE_OR_PRE_DEPENDS
|
if (package_edge->type == EDGE_OR_PRE_DEPENDS
|
||||||
|| package_edge->type == EDGE_OR_DEPENDS
|
|| package_edge->type == EDGE_OR_DEPENDS
|
||||||
) { /* start an EDGE_OR_ list */
|
) {
|
||||||
|
/* start an EDGE_OR_ list */
|
||||||
number_of_alternatives = package_edge->version;
|
number_of_alternatives = package_edge->version;
|
||||||
root_of_alternatives = package_edge;
|
root_of_alternatives = package_edge;
|
||||||
continue;
|
continue;
|
||||||
|
@ -37,12 +37,12 @@ int GETXXKEY_R_FUNC(GETXXKEY_R_KEYTYPE key,
|
|||||||
while (1) {
|
while (1) {
|
||||||
rv = bb__pgsreader(GETXXKEY_R_PARSER, resultbuf, buffer, buflen, stream);
|
rv = bb__pgsreader(GETXXKEY_R_PARSER, resultbuf, buffer, buflen, stream);
|
||||||
if (!rv) {
|
if (!rv) {
|
||||||
if (GETXXKEY_R_TEST(resultbuf)) { /* Found key? */
|
if (GETXXKEY_R_TEST(resultbuf)) { /* found key? */
|
||||||
*result = resultbuf;
|
*result = resultbuf;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (rv == ENOENT) { /* end-of-file encountered. */
|
if (rv == ENOENT) { /* EOF encountered */
|
||||||
rv = 0;
|
rv = 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/*
|
/*
|
||||||
* "ip" utility frontend.
|
|
||||||
*
|
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*
|
*
|
||||||
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/*
|
/*
|
||||||
* ip.c "ip" utility frontend.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
* as published by the Free Software Foundation; either version
|
* as published by the Free Software Foundation; either version
|
||||||
@ -9,7 +7,6 @@
|
|||||||
*
|
*
|
||||||
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* Changes:
|
* Changes:
|
||||||
*
|
*
|
||||||
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
|
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/*
|
/*
|
||||||
* ipaddress.c "ip address".
|
|
||||||
*
|
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*
|
*
|
||||||
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
||||||
@ -20,7 +18,7 @@
|
|||||||
|
|
||||||
#ifndef IFF_LOWER_UP
|
#ifndef IFF_LOWER_UP
|
||||||
/* from linux/if.h */
|
/* from linux/if.h */
|
||||||
#define IFF_LOWER_UP 0x10000 /* driver signals L1 up*/
|
#define IFF_LOWER_UP 0x10000 /* driver signals L1 up */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct filter_t {
|
struct filter_t {
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/*
|
/*
|
||||||
* iproute.c "ip route".
|
|
||||||
*
|
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*
|
*
|
||||||
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* Changes:
|
* Changes:
|
||||||
*
|
*
|
||||||
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
|
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/*
|
/*
|
||||||
* iprule.c "ip rule".
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
* as published by the Free Software Foundation; either version
|
* as published by the Free Software Foundation; either version
|
||||||
@ -9,7 +7,6 @@
|
|||||||
*
|
*
|
||||||
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* Changes:
|
* Changes:
|
||||||
*
|
*
|
||||||
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
|
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/*
|
/*
|
||||||
* iptunnel.c "ip tunnel"
|
|
||||||
*
|
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*
|
*
|
||||||
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/*
|
/*
|
||||||
* ll_addr.c
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
* as published by the Free Software Foundation; either version
|
* as published by the Free Software Foundation; either version
|
||||||
|
@ -1,14 +1,11 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/*
|
/*
|
||||||
* ll_map.c
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
* as published by the Free Software Foundation; either version
|
* as published by the Free Software Foundation; either version
|
||||||
* 2 of the License, or (at your option) any later version.
|
* 2 of the License, or (at your option) any later version.
|
||||||
*
|
*
|
||||||
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <net/if.h> /* struct ifreq and co. */
|
#include <net/if.h> /* struct ifreq and co. */
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/*
|
/*
|
||||||
* ll_proto.c
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
* as published by the Free Software Foundation; either version
|
* as published by the Free Software Foundation; either version
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/*
|
/*
|
||||||
* ll_types.c
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
* as published by the Free Software Foundation; either version
|
* as published by the Free Software Foundation; either version
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/*
|
/*
|
||||||
* rt_names.c rtnetlink names DB.
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
* as published by the Free Software Foundation; either version
|
* as published by the Free Software Foundation; either version
|
||||||
|
@ -1,14 +1,11 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/*
|
/*
|
||||||
* rtm_map.c
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
* as published by the Free Software Foundation; either version
|
* as published by the Free Software Foundation; either version
|
||||||
* 2 of the License, or (at your option) any later version.
|
* 2 of the License, or (at your option) any later version.
|
||||||
*
|
*
|
||||||
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
|
@ -274,7 +274,7 @@ make_new_session(
|
|||||||
IAC, DO, TELOPT_ECHO,
|
IAC, DO, TELOPT_ECHO,
|
||||||
IAC, DO, TELOPT_NAWS,
|
IAC, DO, TELOPT_NAWS,
|
||||||
/* This requires telnetd.ctrlSQ.patch (incomplete) */
|
/* This requires telnetd.ctrlSQ.patch (incomplete) */
|
||||||
/* IAC, DO, TELOPT_LFLOW, */
|
/*IAC, DO, TELOPT_LFLOW,*/
|
||||||
IAC, WILL, TELOPT_ECHO,
|
IAC, WILL, TELOPT_ECHO,
|
||||||
IAC, WILL, TELOPT_SGA
|
IAC, WILL, TELOPT_SGA
|
||||||
};
|
};
|
||||||
|
@ -327,7 +327,7 @@ static void do_disk_statistics(cputime_t itv)
|
|||||||
int i = 0;
|
int i = 0;
|
||||||
char buf[128];
|
char buf[128];
|
||||||
unsigned major, minor;
|
unsigned major, minor;
|
||||||
unsigned long wr_ops, dummy; /* %*lu for suppres the conversion wouldn't work */
|
unsigned long wr_ops, dummy; /* %*lu for suppress the conversion wouldn't work */
|
||||||
unsigned long long rd_sec_or_wr_ops;
|
unsigned long long rd_sec_or_wr_ops;
|
||||||
unsigned long long rd_sec_or_dummy, wr_sec_or_dummy, wr_sec;
|
unsigned long long rd_sec_or_dummy, wr_sec_or_dummy, wr_sec;
|
||||||
struct stats_dev sd;
|
struct stats_dev sd;
|
||||||
|
@ -29,12 +29,9 @@
|
|||||||
|
|
||||||
void strprint();
|
void strprint();
|
||||||
|
|
||||||
int
|
int main(int argc, char **argv)
|
||||||
main(argc, argv)
|
|
||||||
int argc;
|
|
||||||
char **argv;
|
|
||||||
{
|
{
|
||||||
register int i;
|
int i;
|
||||||
|
|
||||||
for (i = 1; i < argc; i++) {
|
for (i = 1; i < argc; i++) {
|
||||||
printf("argv[%d] = <", i);
|
printf("argv[%d] = <", i);
|
||||||
@ -44,11 +41,9 @@ char **argv;
|
|||||||
exit(EXIT_SUCCESS);
|
exit(EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void strprint(char *str)
|
||||||
strprint(str)
|
|
||||||
char *str;
|
|
||||||
{
|
{
|
||||||
register unsigned char *s;
|
unsigned char *s;
|
||||||
|
|
||||||
for (s = (unsigned char *)str; s && *s; s++) {
|
for (s = (unsigned char *)str; s && *s; s++) {
|
||||||
if (*s < ' ') {
|
if (*s < ' ') {
|
||||||
|
@ -21,10 +21,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
int
|
int main(int argc, char **argv)
|
||||||
main(argc, argv)
|
|
||||||
int argc;
|
|
||||||
char **argv;
|
|
||||||
{
|
{
|
||||||
argv++;
|
argv++;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user