struct dirent **dire;
struct stat status;
int i, j, nb;
- long __unused d;
+ long d;
getcwd(cwd, MAXPATHLEN);
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $FreeBSD: src/gnu/lib/libdialog/textbox.c,v 1.18.6.2 2002/06/18 07:59:59 dougb Exp $
- * $DragonFly: src/gnu/lib/libdialog/textbox.c,v 1.2 2003/06/17 04:25:43 dillon Exp $
*/
#include <dialog.h>
*/
static void print_line(WINDOW *win, int row, int width)
{
- int i, __unused y, x;
+ int i, y, x;
unsigned char *line;
line = get_line();
* SUCH DAMAGE.
*
* $FreeBSD: src/lib/libncp/ncpl_rcfile.c,v 1.1 1999/10/12 11:56:40 bp Exp $
- * $DragonFly: src/lib/libncp/ncpl_rcfile.c,v 1.2 2003/06/17 04:26:50 dillon Exp $
*/
#include <sys/types.h>
#include <sys/queue.h>
int
ncp_open_rcfile(void) {
char *home, *fn;
- int __unused error;
+ int error;
home = getenv("HOME");
if (home) {
struct nfs_readdir_off *roff = NULL;
static char *buf;
static n_long cookie = 0;
+ size_t cc;
n_long eof;
struct {
args->cookie = htonl(cookie);
args->count = htonl(NFS_READDIRSIZE);
- rpc_call(fp->iodesc, NFS_PROG, NFS_VER2, NFSPROC_READDIR,
+ cc = rpc_call(fp->iodesc, NFS_PROG, NFS_VER2, NFSPROC_READDIR,
args, sizeof(*args),
rdata.d, sizeof(rdata.d));
buf = rdata.d;
void
doit(struct sockaddr *who)
{
- int __unused err_; /* XXX */
+ int err_; /* XXX */
int ptynum;
/*