diff options
-rw-r--r-- | converter/ppm/ppmtompeg/mpeg.c | 2 | ||||
-rw-r--r-- | converter/ppm/ppmtompeg/parallel.c | 2 | ||||
-rw-r--r-- | lib/util/nsleep.c | 2 | ||||
-rw-r--r-- | lib/util/nsleep.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/converter/ppm/ppmtompeg/mpeg.c b/converter/ppm/ppmtompeg/mpeg.c index a00a1bb6..86ce7c7a 100644 --- a/converter/ppm/ppmtompeg/mpeg.c +++ b/converter/ppm/ppmtompeg/mpeg.c @@ -1680,7 +1680,7 @@ ReadDecodedRefFrame(MpegFrame * const frameP, } if ((fpointer = fopen(fileName, "rb")) == NULL) { - sleepN(1000); + pm_sleep(1000); if ((fpointer = fopen(fileName, "rb")) == NULL) { fprintf(stderr, "Cannot open %s\n", fileName); exit(1); diff --git a/converter/ppm/ppmtompeg/parallel.c b/converter/ppm/ppmtompeg/parallel.c index 9bc695a6..50381271 100644 --- a/converter/ppm/ppmtompeg/parallel.c +++ b/converter/ppm/ppmtompeg/parallel.c @@ -1209,7 +1209,7 @@ openInputFile(const char * const fileName, pm_message("ERROR Couldn't read frame file '%s' errno = %d (%s)" "attempt %d", fileName, errno, strerror(errno), attempts); - sleepN(1000); + pm_sleep(1000); } ++attempts; } diff --git a/lib/util/nsleep.c b/lib/util/nsleep.c index 943b8c77..d9fed571 100644 --- a/lib/util/nsleep.c +++ b/lib/util/nsleep.c @@ -10,7 +10,7 @@ void -sleepN(unsigned int const milliseconds) { +pm_sleep(unsigned int const milliseconds) { #ifdef WIN32 SleepEx(milliseconds, TRUE); diff --git a/lib/util/nsleep.h b/lib/util/nsleep.h index 372b8008..fdf45ab7 100644 --- a/lib/util/nsleep.h +++ b/lib/util/nsleep.h @@ -2,6 +2,6 @@ #define NSLEEP_H_INCLUDED void -sleepN(unsigned int const milliseconds); +pm_sleep(unsigned int const milliseconds); #endif |