SPDX: Mass-update to GPL-2.0-or-later
[exim.git] / src / OS / unsupported / os.c-BSDI
index 3cef2ac6debfdb2f74ad62080b707b0a595c6df4..42160046b0a288facc4e51ef24e0c6448320628d 100644 (file)
@@ -3,6 +3,7 @@
 *************************************************/
 
 /* Copyright (c) 2016 Heiko Schlittermann <hs@schlittermann.de> */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
 /* See the file NOTICE for conditions of use and distribution. */
 
 /* BSDI-specific code. This is concatenated onto the generic
@@ -12,8 +13,8 @@ src/os.c file. */
 #define OS_UNSETENV
 
 int
-os_unsetenv(const unsigned char * name)
+os_unsetenv(const uschar * name)
 {
-unsetenv((char *)name);
+unsetenv(CS name);
 return 0;
 }