summaryrefslogtreecommitdiffstats
path: root/stubs/bzip.c
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-08-20 18:36:33 +0000
committerErik Troan <ewt@redhat.com>1999-08-20 18:36:33 +0000
commit3d97737714058409290975e456be00e13b752a8a (patch)
tree028a84f7e2d2bb20d9dbc7975cae7090601ec8c3 /stubs/bzip.c
parent8bb9bbd84da816ebe13b94cd0b01b50c151fe756 (diff)
downloadanaconda-3d97737714058409290975e456be00e13b752a8a.tar.gz
anaconda-3d97737714058409290975e456be00e13b752a8a.tar.xz
anaconda-3d97737714058409290975e456be00e13b752a8a.zip
added
Diffstat (limited to 'stubs/bzip.c')
-rw-r--r--stubs/bzip.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/stubs/bzip.c b/stubs/bzip.c
new file mode 100644
index 000000000..b4bfda84a
--- /dev/null
+++ b/stubs/bzip.c
@@ -0,0 +1,28 @@
+/* empty bzip stubs */
+
+void * bzdopen(int fd, const char *mode) {
+ return (void *) 0;
+}
+
+void * bzopen(const char * fn, const char *mode) {
+ return (void *) 0;
+}
+
+const char * bzerror(void * b, int * err) {
+ return (void *) 0;
+}
+
+int bzwrite(void * b, void * buf, int len) {
+ return -1;
+}
+
+int bzread(void * b, void * buf, int len) {
+ return -1;
+}
+
+void bzclose(void * b) {
+}
+
+int bzflush(void * b) {
+ return 0;
+}