summaryrefslogtreecommitdiffstats
path: root/util/openticket.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/openticket.c')
-rw-r--r--util/openticket.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/util/openticket.c b/util/openticket.c
index db473fd2..a7a2fd5c 100644
--- a/util/openticket.c
+++ b/util/openticket.c
@@ -8,17 +8,6 @@ static char *betname[8] = {"Ptt", "Jaky", "Action", "Heat",
#define MAX_DES 7 /* ³Ì¤j«O¯d¼ú¼Æ */
-int Link(const char *src, const char *dst)
-{
- char cmd[200];
-
- if (link(src, dst) == 0)
- return 0;
-
- sprintf(cmd, "/bin/cp -R %s %s", src, dst);
- return system(cmd);
-}
-
int main(int argc, char **argv)
{
int money, bet, n, total = 0, ticket[8] =