diff options
author | H. Peter Anvin <hpa@zytor.com> | 2017-03-14 18:41:25 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2017-03-14 18:41:25 -0700 |
commit | 785ffb95dae5bfad8ee019b3e2c1780520852ce2 (patch) | |
tree | 3d7b6a4e6fce16ccbe557d5844e94441a5d4be63 /include | |
parent | 875342547296d29ac65ccfb2ea32be86fa208e3f (diff) | |
download | nasm-785ffb95dae5bfad8ee019b3e2c1780520852ce2.tar.gz |
labels: make lookup_labels and is_extern take a const char *
Whenever we can, we should constipate our arguments...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/labels.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/labels.h b/include/labels.h index 5ffdff60..3e8ac3ed 100644 --- a/include/labels.h +++ b/include/labels.h @@ -43,8 +43,8 @@ extern char lprefix[PREFIX_MAX]; extern char lpostfix[PREFIX_MAX]; -bool lookup_label(char *label, int32_t *segment, int64_t *offset); -bool is_extern(char *label); +bool lookup_label(const char *label, int32_t *segment, int64_t *offset); +bool is_extern(const char *label); void define_label(char *label, int32_t segment, int64_t offset, char *special, bool is_norm, bool isextrn); void redefine_label(char *label, int32_t segment, int64_t offset, char *special, |