summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorYuri <yuri@tsoft.com>2014-07-17 14:07:30 -0700
committerWill Estes <westes575@gmail.com>2014-07-25 08:13:41 -0400
commit8091dc907663673d9e0295c57fa446bdd38e9fab (patch)
tree063e06f9b2bb814113c24b103ff34963db880f1d /examples
parent3e0d96af4c72ed2ab3f6650713ff24689ac936c7 (diff)
Removed deprecated 'register' storage class specifier.
clang-3.5.0 now complains about them: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
Diffstat (limited to 'examples')
-rw-r--r--examples/fastwc/mywc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/fastwc/mywc.c b/examples/fastwc/mywc.c
index 92e5a36..b07d5f0 100644
--- a/examples/fastwc/mywc.c
+++ b/examples/fastwc/mywc.c
@@ -5,7 +5,7 @@
main()
{
- register int c, cc = 0, wc = 0, lc = 0;
+ int c, cc = 0, wc = 0, lc = 0;
FILE *f = stdin;
while ((c = getc(f)) != EOF) {