diff options
| author | christos <christos@NetBSD.org> | 2016-01-13 19:24:59 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2016-01-13 19:24:59 +0000 |
| commit | a9cc03d5ae6c144ac3d14dbbe60d7922b532f3dc (patch) | |
| tree | 45905651b35cf9b92d48ecfed92e3c5037e7d2d9 /gnu/dist/groff/src/libs/libgroff/device.cpp | |
| parent | 64a6ddad5b422a192c6fc189ac147ecef15d0290 (diff) | |
groff has moved to external
Diffstat (limited to 'gnu/dist/groff/src/libs/libgroff/device.cpp')
| -rw-r--r-- | gnu/dist/groff/src/libs/libgroff/device.cpp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/gnu/dist/groff/src/libs/libgroff/device.cpp b/gnu/dist/groff/src/libs/libgroff/device.cpp deleted file mode 100644 index ef167cfa05c..00000000000 --- a/gnu/dist/groff/src/libs/libgroff/device.cpp +++ /dev/null @@ -1,38 +0,0 @@ -/* $NetBSD: device.cpp,v 1.1.1.2 2006/02/06 18:13:52 wiz Exp $ */ - -// -*- C++ -*- -/* Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc. - Written by James Clark (jjc@jclark.com) - -This file is part of groff. - -groff is free software; you can redistribute it and/or modify it under -the terms of the GNU General Public License as published by the Free -Software Foundation; either version 2, or (at your option) any later -version. - -groff is distributed in the hope that it will be useful, but WITHOUT ANY -WARRANTY; without even the implied warranty of MERCHANTABILITY or -FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -for more details. - -You should have received a copy of the GNU General Public License along -with groff; see the file COPYING. If not, write to the Free Software -Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA. */ - -#include <stdlib.h> -#include "device.h" -#include "defs.h" - -const char *device = DEVICE; - -struct device_init { - device_init(); -} _device_init; - -device_init::device_init() -{ - char *tem = getenv("GROFF_TYPESETTER"); - if (tem) - device = tem; -} |
