diff options
author | dos-reis <gdr@axiomatics.org> | 2010-07-29 22:34:06 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2010-07-29 22:34:06 +0000 |
commit | 78f7e5da35751c2ce43bf45588b2c8998e0d11fe (patch) | |
tree | f93303c0d3488401d847fab55f322a9cbaccbcca /src/clef/edible.c | |
parent | 1b7a0340896d0fb7b2d99ba9c1358cac9f7b03d3 (diff) | |
download | open-axiom-78f7e5da35751c2ce43bf45588b2c8998e0d11fe.tar.gz |
* clef/Makefile.in: Build and link programs by a C++ compiler.
* clef/edible.c: Make it acceptable to a C++ compiler.
* driver/utils.c: Likewise.
* sman/sman.c: Likewise.
Diffstat (limited to 'src/clef/edible.c')
-rw-r--r-- | src/clef/edible.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/clef/edible.c b/src/clef/edible.c index baacf5fa..100f5a43 100644 --- a/src/clef/edible.c +++ b/src/clef/edible.c @@ -1,7 +1,7 @@ /* Copyright (C) 1991-2002, The Numerical Algorithms Group Ltd. All rights reserved. - Copyright (C) 2007-2009, Gabriel Dos Reis. + Copyright (C) 2007-2010, Gabriel Dos Reis. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -135,7 +135,7 @@ main(int argc, char *argv[]) - putenv("LC_ALL=C"); + putenv((char*) "LC_ALL=C"); setlocale(LC_ALL, ""); /* try to get a pseudoterminal to play with */ if (ptyopen(&contNum, &serverNum, serverPath) == -1) { @@ -280,11 +280,11 @@ main(int argc, char *argv[]) } #endif - code = select(FD_SETSIZE,(void *) &rfds, NULL, NULL, NULL); + code = select(FD_SETSIZE, &rfds, NULL, NULL, NULL); for(; code < 0 ;) { if(errno == EINTR) { check_flip(); - code = select(FD_SETSIZE,(void *) &rfds, NULL, NULL, NULL); + code = select(FD_SETSIZE, &rfds, NULL, NULL, NULL); } else { perror("clef select failure"); |