diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-08-15 19:02:03 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-08-19 17:41:39 +0200 |
commit | d332911d06061a79f0c14831ff5257c50a898665 (patch) | |
tree | 01254294ad4190325d7c9e8d9e88986ed45199ee /string.c | |
parent | 6f25b12e5e32876480e4965e3b61cffb3f7499e2 (diff) | |
download | mig-d332911d06061a79f0c14831ff5257c50a898665.tar.gz mig-d332911d06061a79f0c14831ff5257c50a898665.tar.bz2 mig-d332911d06061a79f0c14831ff5257c50a898665.zip |
Drop the register keyword
Drop the register keyword both from MIGs code and from the generated
code. The register keyword is only a hint and it is ignored by modern
compilers.
* alloca.c: Drop the register keyword.
* header.c: Likewise.
* lexxer.l: Likewise.
* parser.y: Likewise.
* routine.c: Likewise.
* server.c: Likewise.
* statement.c: Likewise.
* string.c: Likewise.
* type.c: Likewise.
* user.c: Likewise.
* utils.c: Likewise.
* vprint.c: Likewise.
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -34,7 +34,7 @@ string_t strmake(const char *string) { - register string_t saved; + string_t saved; saved = malloc(strlen(string) + 1); if (saved == strNULL) @@ -45,7 +45,7 @@ strmake(const char *string) string_t strconcat(const_string_t left, const_string_t right) { - register string_t saved; + string_t saved; saved = malloc(strlen(left) + strlen(right) + 1); if (saved == strNULL) |