-rw-r--r-- | libopie/odevice.cpp | 8 | ||||
-rw-r--r-- | libopie/odevice.h | 2 |
2 files changed, 1 insertions, 9 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index 6572fb6..1da8862 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp | |||
@@ -132,10 +132,4 @@ ODevice::~ODevice ( ) | |||
132 | #define APM_IOC_SUSPEND (( 0<<30 ) | ( 'A'<<8 ) | ( 2 ) | ( 0<<16 )) | 132 | #define APM_IOC_SUSPEND (( 0<<30 ) | ( 'A'<<8 ) | ( 2 ) | ( 0<<16 )) |
133 | 133 | ||
134 | |||
135 | void ODevice::tstp_sighandler ( int ) | ||
136 | { | ||
137 | } | ||
138 | |||
139 | |||
140 | bool ODevice::suspend ( ) | 134 | bool ODevice::suspend ( ) |
141 | { | 135 | { |
@@ -150,5 +144,5 @@ bool ODevice::suspend ( ) | |||
150 | struct timeval tvs, tvn; | 144 | struct timeval tvs, tvn; |
151 | 145 | ||
152 | ::signal ( SIGTSTP, tstp_sighandler );// we don't want to be stopped | 146 | ::signal ( SIGTSTP, SIG_IGN );// we don't want to be stopped |
153 | ::gettimeofday ( &tvs, 0 ); | 147 | ::gettimeofday ( &tvs, 0 ); |
154 | 148 | ||
diff --git a/libopie/odevice.h b/libopie/odevice.h index cda504a..5009b91 100644 --- a/libopie/odevice.h +++ b/libopie/odevice.h | |||
@@ -103,6 +103,4 @@ protected: | |||
103 | private: | 103 | private: |
104 | ODevice ( const ODevice & ); | 104 | ODevice ( const ODevice & ); |
105 | |||
106 | static void tstp_sighandler ( int ); | ||
107 | }; | 105 | }; |
108 | 106 | ||