diff options
author | Peter Tribble <peter.tribble@gmail.com> | 2017-05-27 11:10:43 +0100 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2017-06-12 10:30:30 -0400 |
commit | 2e10def11ef1a50c25efa2444482670e6b0654ff (patch) | |
tree | 121572b7b6f793a0cf09654bacd31d43558e6672 /usr/src/cmd/svr4pkg/libinst/stub.c | |
parent | 311c88c1ed31408e0998a9aabb8e7d0d12ef83ad (diff) | |
download | illumos-joyent-2e10def11ef1a50c25efa2444482670e6b0654ff.tar.gz |
8302 svr4pkg unused variables
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/cmd/svr4pkg/libinst/stub.c')
-rw-r--r-- | usr/src/cmd/svr4pkg/libinst/stub.c | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/usr/src/cmd/svr4pkg/libinst/stub.c b/usr/src/cmd/svr4pkg/libinst/stub.c deleted file mode 100644 index 1deca146eb..0000000000 --- a/usr/src/cmd/svr4pkg/libinst/stub.c +++ /dev/null @@ -1,46 +0,0 @@ -/* - * CDDL HEADER START - * - * The contents of this file are subject to the terms of the - * Common Development and Distribution License (the "License"). - * You may not use this file except in compliance with the License. - * - * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE - * or http://www.opensolaris.org/os/licensing. - * See the License for the specific language governing permissions - * and limitations under the License. - * - * When distributing Covered Code, include this CDDL HEADER in each - * file and include the License file at usr/src/OPENSOLARIS.LICENSE. - * If applicable, add the following below this CDDL HEADER, with the - * fields enclosed by brackets "[]" replaced with your own identifying - * information: Portions Copyright [yyyy] [name of copyright owner] - * - * CDDL HEADER END - */ - -/* - * Copyright 1993 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. - */ - -/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - - -#ifdef PRESVR4 -int -rename(char *x, char *y) -{ - return (link(x, y) || unlink(x)); -} -#else -static int dummy; /* used to make compillor warning go away */ -#ifdef lint -_______a() -{ - return (dummy++); -} -#endif /* lint */ -#endif |