diff options
| author | Wayne Davison <wayned@samba.org> | 2006-10-13 07:38:11 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2006-10-13 07:38:11 +0000 |
| commit | 33394b769d8b95c082cda3d586b743ff53c6afe5 (patch) | |
| tree | 2c4cf9ecb4a86fd042acff29fcf11405a259dbf2 /util.c | |
| parent | 011e85a5e3a80e9229887468aad206a389f67552 (diff) | |
| download | android_external_rsync-33394b769d8b95c082cda3d586b743ff53c6afe5.tar.gz android_external_rsync-33394b769d8b95c082cda3d586b743ff53c6afe5.tar.bz2 android_external_rsync-33394b769d8b95c082cda3d586b743ff53c6afe5.zip | |
Mark out_of_memory() and overflow_exit() with NORETURN.
Diffstat (limited to 'util.c')
| -rw-r--r-- | util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -109,13 +109,13 @@ void print_child_argv(char **cmd) rprintf(FCLIENT, "\n"); } -void out_of_memory(char *str) +NORETURN void out_of_memory(char *str) { rprintf(FERROR, "ERROR: out of memory in %s [%s]\n", str, who_am_i()); exit_cleanup(RERR_MALLOC); } -void overflow_exit(char *str) +NORETURN void overflow_exit(char *str) { rprintf(FERROR, "ERROR: buffer overflow in %s [%s]\n", str, who_am_i()); exit_cleanup(RERR_MALLOC); |
