projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dc82d4
)
Lose unused leftover definitions
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 15 Oct 2009 11:23:20 +0000
(14:23 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Fri, 16 Oct 2009 09:53:58 +0000
(12:53 +0300)
rpmio/rpmio.c
patch
|
blob
|
history
diff --git
a/rpmio/rpmio.c
b/rpmio/rpmio.c
index
c5c8315
..
4fb9ece
100644
(file)
--- a/
rpmio/rpmio.c
+++ b/
rpmio/rpmio.c
@@
-9,18
+9,6
@@
#define _USE_LIBIO 1
#endif
-/* XXX HP-UX w/o -D_XOPEN_SOURCE needs */
-#if !defined(HAVE_HERRNO) && (defined(__hpux))
-extern int h_errno;
-#endif
-
-#ifndef IPPORT_FTP
-#define IPPORT_FTP 21
-#endif
-#ifndef IPPORT_HTTP
-#define IPPORT_HTTP 80
-#endif
-
#include <rpm/rpmlog.h>
#include <rpm/rpmmacro.h>
#include <rpm/rpmfileutil.h>
@@
-164,8
+152,6
@@
static int noLibio = 0;
static int noLibio = 1;
#endif
-#define TIMEOUT_SECS 60
-
/** \ingroup rpmio
* \name RPMIO Vectors.
*/