diff options
author | Thomas Osterried <thomas@osterried.de> | 2012-10-01 16:16:37 +0000 |
---|---|---|
committer | Thomas Osterried <thomas@osterried.de> | 2012-10-01 16:16:37 +0000 |
commit | 55118b82cab84a6c426e455cf028136a92c9c41f (patch) | |
tree | b68be7831d71449e9e69d7bb873b50de1aa4c137 /tcpip/rip98d.h | |
parent | 8cb88af8894399f3b68f9e027f8f6f4fc5575686 (diff) |
renamed variable "restrict" to "route_restrict"
debian Bug#689322: "restrict" is a keyword in C99
tcpip/rip98d.c uses "restrict" as a variable name. This collides with
the fact that in C99 "restrict" is a keyword. Compilers that default
to C99-mode, or gcc -std=c99, fail to compile this code.
Diffstat (limited to 'tcpip/rip98d.h')
-rw-r--r-- | tcpip/rip98d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcpip/rip98d.h b/tcpip/rip98d.h index fb00a7d..fc4ef8f 100644 --- a/tcpip/rip98d.h +++ b/tcpip/rip98d.h @@ -44,7 +44,7 @@ extern struct dest_struct dest_list[]; extern int dest_count; extern int debug; -extern int restrict; +extern int route_restrict; extern int logging; /* In rip98d.c */ |