diff options
| author | Wayne Davison <wayned@samba.org> | 2006-01-20 00:14:04 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2006-01-20 00:14:04 +0000 |
| commit | f608ebb1066fb0fa06b941811c56b32239d71d90 (patch) | |
| tree | 50d1a6fa61fe86383c4d4051854b3ec2e6b59767 /util.c | |
| parent | 87001ac6c245cc351210436031a6f32fda350c62 (diff) | |
| download | android_external_rsync-f608ebb1066fb0fa06b941811c56b32239d71d90.tar.gz android_external_rsync-f608ebb1066fb0fa06b941811c56b32239d71d90.tar.bz2 android_external_rsync-f608ebb1066fb0fa06b941811c56b32239d71d90.zip | |
Got rid of unused function u_strcmp().
Diffstat (limited to 'util.c')
| -rw-r--r-- | util.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -1001,22 +1001,6 @@ int handle_partial_dir(const char *fname, int create) return 1; } -/** We need to supply our own strcmp function for file list comparisons - to ensure that signed/unsigned usage is consistent between machines. */ -int u_strcmp(const char *cs1, const char *cs2) -{ - const uchar *s1 = (const uchar *)cs1; - const uchar *s2 = (const uchar *)cs2; - - while (*s1 && *s2 && (*s1 == *s2)) { - s1++; s2++; - } - - return (int)*s1 - (int)*s2; -} - - - /** * Determine if a symlink points outside the current directory tree. * This is considered "unsafe" because e.g. when mirroring somebody |
