summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@sourcefrog.net>2001-02-27 03:06:43 +0000
committerMartin Pool <mbp@sourcefrog.net>2001-02-27 03:06:43 +0000
commit5ffc6e628e5ae6d429e9d02afcf4f3f63acc3b93 (patch)
tree9133f324e67e0a8ab15f22aaec2e287f7654bf68 /util.c
parentffb0adedea03935a7722ff2a23acce1e580d4310 (diff)
downloadlibrsync-5ffc6e628e5ae6d429e9d02afcf4f3f63acc3b93.tar.gz
Drop hs_readintarg, which is obsolete by popt.
Diffstat (limited to 'util.c')
-rw-r--r--util.c21
1 files changed, 3 insertions, 18 deletions
diff --git a/util.c b/util.c
index 47cbf2c..9230981 100644
--- a/util.c
+++ b/util.c
@@ -1,8 +1,9 @@
/*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*-
- * rproxy -- dynamic caching and delta update in HTTP
+ *
+ * libhsync -- the library for network deltas
* $Id$
*
- * Copyright (C) 2000 by Martin Pool <mbp@samba.org>
+ * Copyright (C) 2000, 2001 by Martin Pool <mbp@samba.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -66,19 +67,3 @@ hs_alloc(size_t size, char const *name)
return p;
}
-
-
-
-void
-hs_readintarg(char const *opt, char const *arg, int *out)
-{
- char *o;
-
- *out = strtoul(arg, &o, 10);
- if (*o != '\0') {
- fprintf(stderr, "%s must have a positive integer argument\n",
- opt);
- exit(1);
- }
-}
-