summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-10-17 06:51:50 +0000
committertjr <tjr@FreeBSD.org>2004-10-17 06:51:50 +0000
commit3d89cd8c71a1b9301aba63eab3d9fd6775b9863f (patch)
treea3bffb22a76a3f22042392ea278a1a75e2be4f90 /include
parentb8173ab1f95db0ef76f5c2e1bb37cedd4d53dfd3 (diff)
downloadFreeBSD-src-3d89cd8c71a1b9301aba63eab3d9fd6775b9863f.zip
FreeBSD-src-3d89cd8c71a1b9301aba63eab3d9fd6775b9863f.tar.gz
Remove the obsolete <rune.h> interface.
Diffstat (limited to 'include')
-rw-r--r--include/Makefile2
-rw-r--r--include/rune.h68
2 files changed, 1 insertions, 69 deletions
diff --git a/include/Makefile b/include/Makefile
index e2f2d60..7dd9ad3 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -15,7 +15,7 @@ INCS= a.out.h ar.h assert.h bitstring.h complex.h cpio.h _ctype.h ctype.h \
netdb.h nl_types.h nlist.h nss.h nsswitch.h objformat.h paths.h \
proc_service.h pthread.h \
pthread_np.h pwd.h ranlib.h readpassphrase.h regex.h regexp.h \
- resolv.h rune.h runetype.h search.h setjmp.h sgtty.h signal.h stab.h \
+ resolv.h runetype.h search.h setjmp.h sgtty.h signal.h stab.h \
stdbool.h stddef.h stdio.h stdlib.h string.h stringlist.h \
strings.h sysexits.h tar.h tgmath.h \
time.h timeconv.h timers.h ttyent.h \
diff --git a/include/rune.h b/include/rune.h
deleted file mode 100644
index 0bb6f43..0000000
--- a/include/rune.h
+++ /dev/null
@@ -1,68 +0,0 @@
-/*-
- * Copyright (c) 1993
- * The Regents of the University of California. All rights reserved.
- *
- * This code is derived from software contributed to Berkeley by
- * Paul Borman at Krystal Technologies.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- * @(#)rune.h 8.1 (Berkeley) 6/27/93
- * $FreeBSD$
- */
-
-#ifndef _RUNE_H_
-#define _RUNE_H_
-
-#include <stdio.h>
-#include <runetype.h>
-
-#ifndef _RUNE_T_DECLARED
-#define _RUNE_T_DECLARED
-typedef __rune_t rune_t;
-#endif
-
-#define _INVALID_RUNE _CurrentRuneLocale->__invalid_rune
-
-#define sgetrune(s, n, r) (_CurrentRuneLocale->__sgetrune)((s), (n), (r))
-#define sputrune(c, s, n, r) (_CurrentRuneLocale->__sputrune)((c), (s), \
- (n), (r))
-
-__BEGIN_DECLS
-char *mbrune(const char *, rune_t);
-char *mbrrune(const char *, rune_t);
-char *mbmb(const char *, char *);
-long fgetrune(FILE *);
-int fputrune(rune_t, FILE *);
-int fungetrune(rune_t, FILE *);
-int setrunelocale(char *);
-void setinvalidrune(rune_t);
-__END_DECLS
-
-#endif /*! _RUNE_H_ */
OpenPOWER on IntegriCloud