aboutsummaryrefslogtreecommitdiffstats
path: root/src/usleep.c
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2018-05-30 17:10:02 +0200
committerDee'Kej <deekej@linuxmail.org>2018-06-01 14:51:29 +0200
commitd8746bfc9d8d944082726cdcbee634b1ec72d45f (patch)
tree74baf15ba3082eda02b066893163ff1af950c73a /src/usleep.c
parent1a436be4b16b6eed3f29b192ace8435daaf041f6 (diff)
downloadinitscripts-d8746bfc9d8d944082726cdcbee634b1ec72d45f.tar
initscripts-d8746bfc9d8d944082726cdcbee634b1ec72d45f.tar.gz
initscripts-d8746bfc9d8d944082726cdcbee634b1ec72d45f.tar.bz2
initscripts-d8746bfc9d8d944082726cdcbee634b1ec72d45f.tar.xz
initscripts-d8746bfc9d8d944082726cdcbee634b1ec72d45f.zip
src/usleep.c: GCC warnings fixed
Diffstat (limited to 'src/usleep.c')
-rw-r--r--src/usleep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usleep.c b/src/usleep.c
index e5e3077d..58ab2d79 100644
--- a/src/usleep.c
+++ b/src/usleep.c
@@ -28,13 +28,13 @@
#include "popt.h"
-int main(int argc, char **argv) {
+int main(const int argc, const char **argv) {
unsigned long count;
poptContext optCon;
int showVersion = 0;
int showOot = 0;
int rc;
- char * countStr = NULL;
+ const char * countStr = NULL;
struct poptOption options[] = {
{ "version", 'v', POPT_ARG_NONE, &showVersion, 0,
"Display the version of this program, and exit" },