diff options
author | danlark <danlark@yandex-team.ru> | 2022-02-10 16:46:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:10 +0300 |
commit | baa58daefa91fde4b4769facdbd2903763b9c6a8 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /contrib/tools/bison | |
parent | 3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (diff) | |
download | ydb-baa58daefa91fde4b4769facdbd2903763b9c6a8.tar.gz |
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/tools/bison')
-rw-r--r-- | contrib/tools/bison/gnulib/src/c-strcasecmp.c | 4 | ||||
-rw-r--r-- | contrib/tools/bison/gnulib/src/c-strncasecmp.c | 4 | ||||
-rw-r--r-- | contrib/tools/bison/gnulib/src/getopt.c | 4 | ||||
-rw-r--r-- | contrib/tools/bison/gnulib/src/obstack.c | 26 | ||||
-rw-r--r-- | contrib/tools/bison/gnulib/src/stpcpy.c | 4 | ||||
-rw-r--r-- | contrib/tools/bison/gnulib/src/strtol.c | 10 | ||||
-rw-r--r-- | contrib/tools/bison/m4/src/symtab.c | 6 |
7 files changed, 29 insertions, 29 deletions
diff --git a/contrib/tools/bison/gnulib/src/c-strcasecmp.c b/contrib/tools/bison/gnulib/src/c-strcasecmp.c index 2671c10fd7..cd4e4d49cb 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 fe827f8196..053c70a73a 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 a5d23c097e..4b3d267067 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 c78ff8255f..9b2883e4ac 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 690a1b1178..f5aa8d67e9 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 9d102cf887..2962505554 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; diff --git a/contrib/tools/bison/m4/src/symtab.c b/contrib/tools/bison/m4/src/symtab.c index 37e3827b36..7448c272cc 100644 --- a/contrib/tools/bison/m4/src/symtab.c +++ b/contrib/tools/bison/m4/src/symtab.c @@ -123,10 +123,10 @@ symtab_init (void) static size_t M4_GNUC_PURE hash (const char *s) { - size_t val = 0; + size_t val = 0; - const char *ptr = s; - char ch; + const char *ptr = s; + char ch; while ((ch = *ptr++) != '\0') val = (val << 7) + (val >> (sizeof (val) * CHAR_BIT - 7)) + ch; |