]> git.sur5r.net Git - openldap/blobdiff - libraries/liblunicode/utbm/utbmstub.c
Merge remote-tracking branch 'origin/mdb.master'
[openldap] / libraries / liblunicode / utbm / utbmstub.c
index 51a2c77cc03df4d0bfd8f8d4b19db55a73d09fcc..a4129cf9da1234eb48ba6863e823e6d4031d0008 100644 (file)
@@ -1,5 +1,18 @@
-/*
- * Copyright 1997, 1998, 1999 Computing Research Labs,
+/* $OpenLDAP$ */
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 1998-2012 The OpenLDAP Foundation.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License.
+ *
+ * A copy of this license is available in file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * <http://www.OpenLDAP.org/license.html>.
+ */
+/* Copyright 1997, 1998, 1999 Computing Research Labs,
  * New Mexico State University
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -20,9 +33,7 @@
  * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
  * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
-#ifndef lint
-static char rcsid[] = "$Id: utbmstub.c,v 1.1 1999/09/21 15:45:18 mleisher Exp $";
-#endif
+/* $Id: utbmstub.c,v 1.1 1999/09/21 15:45:18 mleisher Exp $ */
 
 #include "utbm.h"
 
@@ -37,13 +48,7 @@ static char rcsid[] = "$Id: utbmstub.c,v 1.1 1999/09/21 15:45:18 mleisher Exp $"
  * of a space character.  Return zero otherwise.
  */
 int
-#ifdef __STDC__
 _utbm_isspace(ucs4_t c, int compress)
-#else
-_utbm_isspace(c, compress)
-ucs4_t c;
-int compress;
-#endif
 {
     if (compress)
       return (c == 0x09 || c == 0x0a || c == 0x0d ||
@@ -57,12 +62,7 @@ int compress;
  * Return non-zero if the character is a control character, or zero otherwise.
  */
 int
-#ifdef __STDC__
 _utbm_iscntrl(ucs4_t c)
-#else
-_utbm_iscntrl(c)
-ucs4_t c;
-#endif
 {
     return 0;
 }
@@ -72,12 +72,7 @@ ucs4_t c;
  * otherwise.
  */
 int
-#ifdef __STDC__
 _utbm_nonspacing(ucs4_t c)
-#else
-_utbm_nonspacing(c)
-ucs4_t c;
-#endif
 {
     return 0;
 }
@@ -86,12 +81,7 @@ ucs4_t c;
  * Convert a character to lower case.
  */
 ucs4_t
-#ifdef __STDC__
 _utbm_tolower(ucs4_t c)
-#else
-_utbm_tolower(c)
-ucs4_t c;
-#endif
 {
     return c;
 }
@@ -100,12 +90,7 @@ ucs4_t c;
  * Convert a character to upper case.
  */
 ucs4_t
-#ifdef __STDC__
 _utbm_toupper(ucs4_t c)
-#else
-_utbm_toupper(c)
-ucs4_t c;
-#endif
 {
     return c;
 }
@@ -114,12 +99,7 @@ ucs4_t c;
  * Convert a character to title case.
  */
 ucs4_t
-#ifdef __STDC__
 _utbm_totitle(ucs4_t c)
-#else
-_utbm_totitle(c)
-ucs4_t c;
-#endif
 {
     return c;
 }