summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/odevice.cpp8
-rw-r--r--libopie/odevice.h2
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 ( )
#define APM_IOC_SUSPEND (( 0<<30 ) | ( 'A'<<8 ) | ( 2 ) | ( 0<<16 ))
-
-void ODevice::tstp_sighandler ( int )
-{
-}
-
-
bool ODevice::suspend ( )
{
@@ -150,5 +144,5 @@ bool ODevice::suspend ( )
struct timeval tvs, tvn;
- ::signal ( SIGTSTP, tstp_sighandler ); // we don't want to be stopped
+ ::signal ( SIGTSTP, SIG_IGN ); // we don't want to be stopped
::gettimeofday ( &tvs, 0 );
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:
private:
ODevice ( const ODevice & );
-
- static void tstp_sighandler ( int );
};