aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/bison/gnulib
diff options
context:
space:
mode:
authordanlark <danlark@yandex-team.ru>2022-02-10 16:46:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:08 +0300
commit3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (patch)
tree26154e1e9990f1bb4525d3e3fb5b6dac2c2c1da2 /contrib/tools/bison/gnulib
parentcb68f224c46a8ee52ac3fdd2a32534b8bb8dc134 (diff)
downloadydb-3426a9bc7f169ae9da54cef557ad2a33f6e8eee0.tar.gz
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/bison/gnulib')
-rw-r--r--contrib/tools/bison/gnulib/src/c-strcasecmp.c4
-rw-r--r--contrib/tools/bison/gnulib/src/c-strncasecmp.c4
-rw-r--r--contrib/tools/bison/gnulib/src/getopt.c4
-rw-r--r--contrib/tools/bison/gnulib/src/obstack.c26
-rw-r--r--contrib/tools/bison/gnulib/src/stpcpy.c4
-rw-r--r--contrib/tools/bison/gnulib/src/strtol.c10
6 files changed, 26 insertions, 26 deletions
diff --git a/contrib/tools/bison/gnulib/src/c-strcasecmp.c b/contrib/tools/bison/gnulib/src/c-strcasecmp.c
index cd4e4d49cb..2671c10fd7 100644
--- a/contrib/tools/bison/gnulib/src/c-strcasecmp.c
+++ b/contrib/tools/bison/gnulib/src/c-strcasecmp.c
@@ -26,8 +26,8 @@
int
c_strcasecmp (const char *s1, const char *s2)
{
- const unsigned char *p1 = (const unsigned char *) s1;
- const unsigned char *p2 = (const unsigned char *) s2;
+ const unsigned char *p1 = (const unsigned char *) s1;
+ const unsigned char *p2 = (const unsigned char *) s2;
unsigned char c1, c2;
if (p1 == p2)
diff --git a/contrib/tools/bison/gnulib/src/c-strncasecmp.c b/contrib/tools/bison/gnulib/src/c-strncasecmp.c
index 053c70a73a..fe827f8196 100644
--- a/contrib/tools/bison/gnulib/src/c-strncasecmp.c
+++ b/contrib/tools/bison/gnulib/src/c-strncasecmp.c
@@ -26,8 +26,8 @@
int
c_strncasecmp (const char *s1, const char *s2, size_t n)
{
- const unsigned char *p1 = (const unsigned char *) s1;
- const unsigned char *p2 = (const unsigned char *) s2;
+ const unsigned char *p1 = (const unsigned char *) s1;
+ const unsigned char *p2 = (const unsigned char *) s2;
unsigned char c1, c2;
if (p1 == p2 || n == 0)
diff --git a/contrib/tools/bison/gnulib/src/getopt.c b/contrib/tools/bison/gnulib/src/getopt.c
index 4b3d267067..a5d23c097e 100644
--- a/contrib/tools/bison/gnulib/src/getopt.c
+++ b/contrib/tools/bison/gnulib/src/getopt.c
@@ -181,7 +181,7 @@ exchange (char **argv, struct _getopt_data *d)
{
/* Bottom segment is the short one. */
int len = middle - bottom;
- int i;
+ int i;
/* Swap it with the top part of the top segment. */
for (i = 0; i < len; i++)
@@ -198,7 +198,7 @@ exchange (char **argv, struct _getopt_data *d)
{
/* Top segment is the short one. */
int len = top - middle;
- int i;
+ int i;
/* Swap it with the bottom part of the bottom segment. */
for (i = 0; i < len; i++)
diff --git a/contrib/tools/bison/gnulib/src/obstack.c b/contrib/tools/bison/gnulib/src/obstack.c
index 9b2883e4ac..c78ff8255f 100644
--- a/contrib/tools/bison/gnulib/src/obstack.c
+++ b/contrib/tools/bison/gnulib/src/obstack.c
@@ -143,7 +143,7 @@ _obstack_begin (struct obstack *h,
void *(*chunkfun) (long),
void (*freefun) (void *))
{
- struct _obstack_chunk *chunk; /* points to new chunk */
+ struct _obstack_chunk *chunk; /* points to new chunk */
if (alignment == 0)
alignment = DEFAULT_ALIGNMENT;
@@ -190,7 +190,7 @@ _obstack_begin_1 (struct obstack *h, int size, int alignment,
void (*freefun) (void *, void *),
void *arg)
{
- struct _obstack_chunk *chunk; /* points to new chunk */
+ struct _obstack_chunk *chunk; /* points to new chunk */
if (alignment == 0)
alignment = DEFAULT_ALIGNMENT;
@@ -241,11 +241,11 @@ _obstack_begin_1 (struct obstack *h, int size, int alignment,
void
_obstack_newchunk (struct obstack *h, int length)
{
- struct _obstack_chunk *old_chunk = h->chunk;
- struct _obstack_chunk *new_chunk;
- long new_size;
- long obj_size = h->next_free - h->object_base;
- long i;
+ struct _obstack_chunk *old_chunk = h->chunk;
+ struct _obstack_chunk *new_chunk;
+ long new_size;
+ long obj_size = h->next_free - h->object_base;
+ long i;
long already;
char *object_base;
@@ -318,8 +318,8 @@ int _obstack_allocated_p (struct obstack *h, void *obj);
int
_obstack_allocated_p (struct obstack *h, void *obj)
{
- struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
- struct _obstack_chunk *plp; /* point to previous chunk if any */
+ struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
+ struct _obstack_chunk *plp; /* point to previous chunk if any */
lp = (h)->chunk;
/* We use >= rather than > since the object cannot be exactly at
@@ -341,8 +341,8 @@ _obstack_allocated_p (struct obstack *h, void *obj)
void
__obstack_free (struct obstack *h, void *obj)
{
- struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
- struct _obstack_chunk *plp; /* point to previous chunk if any */
+ struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
+ struct _obstack_chunk *plp; /* point to previous chunk if any */
lp = h->chunk;
/* We use >= because there cannot be an object at the beginning of a chunk.
@@ -377,8 +377,8 @@ strong_alias (obstack_free, _obstack_free)
int
_obstack_memory_used (struct obstack *h)
{
- struct _obstack_chunk* lp;
- int nbytes = 0;
+ struct _obstack_chunk* lp;
+ int nbytes = 0;
for (lp = h->chunk; lp != 0; lp = lp->prev)
{
diff --git a/contrib/tools/bison/gnulib/src/stpcpy.c b/contrib/tools/bison/gnulib/src/stpcpy.c
index f5aa8d67e9..690a1b1178 100644
--- a/contrib/tools/bison/gnulib/src/stpcpy.c
+++ b/contrib/tools/bison/gnulib/src/stpcpy.c
@@ -36,8 +36,8 @@
char *
__stpcpy (char *dest, const char *src)
{
- char *d = dest;
- const char *s = src;
+ char *d = dest;
+ const char *s = src;
do
*d++ = *s;
diff --git a/contrib/tools/bison/gnulib/src/strtol.c b/contrib/tools/bison/gnulib/src/strtol.c
index 2962505554..9d102cf887 100644
--- a/contrib/tools/bison/gnulib/src/strtol.c
+++ b/contrib/tools/bison/gnulib/src/strtol.c
@@ -239,11 +239,11 @@ INTERNAL (strtol) (const STRING_TYPE *nptr, STRING_TYPE **endptr,
int base, int group LOCALE_PARAM_PROTO)
{
int negative;
- unsigned LONG int cutoff;
- unsigned int cutlim;
- unsigned LONG int i;
- const STRING_TYPE *s;
- UCHAR_TYPE c;
+ unsigned LONG int cutoff;
+ unsigned int cutlim;
+ unsigned LONG int i;
+ const STRING_TYPE *s;
+ UCHAR_TYPE c;
const STRING_TYPE *save, *end;
int overflow;