aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/anbieter.c2
-rw-r--r--lib/ausland.c2
-rw-r--r--lib/common.c2
-rw-r--r--lib/tarife.c2
-rw-r--r--lib/update.c14
5 files changed, 10 insertions, 12 deletions
diff --git a/lib/anbieter.c b/lib/anbieter.c
index 3a5ce49..81548b7 100644
--- a/lib/anbieter.c
+++ b/lib/anbieter.c
@@ -1,6 +1,6 @@
/* $Id$ */
/*
- * Copyright (c) 2004 demon <demon@vhost.dyndns.org>
+ * Copyright (c) 2004 Dimitri Sokolyuk <demon@vhost.dyndns.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
diff --git a/lib/ausland.c b/lib/ausland.c
index ef2978a..6fac856 100644
--- a/lib/ausland.c
+++ b/lib/ausland.c
@@ -1,6 +1,6 @@
/* $Id$ */
/*
- * Copyright (c) 2004 demon <demon@vhost.dyndns.org>
+ * Copyright (c) 2004 Dimitri Sokolyuk <demon@vhost.dyndns.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
diff --git a/lib/common.c b/lib/common.c
index 9de3d7f..3792f49 100644
--- a/lib/common.c
+++ b/lib/common.c
@@ -1,6 +1,6 @@
/* $Id$ */
/*
- * Copyright (c) 2004 demon <demon@vhost.dyndns.org>
+ * Copyright (c) 2004 Dimitri Sokolyuk <demon@vhost.dyndns.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
diff --git a/lib/tarife.c b/lib/tarife.c
index 1c09efa..c873ad3 100644
--- a/lib/tarife.c
+++ b/lib/tarife.c
@@ -1,6 +1,6 @@
/* $Id$ */
/*
- * Copyright (c) 2004 demon <demon@vhost.dyndns.org>
+ * Copyright (c) 2004 Dimitri Sokolyuk <demon@vhost.dyndns.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
diff --git a/lib/update.c b/lib/update.c
index 88fd27b..dfed858 100644
--- a/lib/update.c
+++ b/lib/update.c
@@ -1,6 +1,6 @@
/* $Id$ */
/*
- * Copyright (c) 2004 demon <demon@vhost.dyndns.org>
+ * Copyright (c) 2004 Dimitri Sokolyuk <demon@vhost.dyndns.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -146,16 +146,14 @@ unzip(void)
return;
}
-static const char twiddle_chars[] = "|/-\\";
-static int twiddle_index = 0;
-
void
twiddle(void)
{
- putchar(twiddle_chars[twiddle_index++]);
+ static const char tc[] = "|/-\\";
+ static int ti = 0;
+
+ putchar(tc[ti++]);
putchar('\b');
fflush(stdout);
- twiddle_index &= 3;
+ ti &= 3;
}
-
-