summaryrefslogtreecommitdiff
path: root/src/runtime/cgo/setenv.c
blob: 76d88cbf13c6d5864896671ceeaa7fba97a193d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2011 The Go Authors.  All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build darwin dragonfly freebsd linux netbsd openbsd

#pragma cgo_import_static x_cgo_setenv
#pragma cgo_import_static x_cgo_unsetenv

void x_cgo_setenv(char**);
void (*runtime·_cgo_setenv)(char**) = x_cgo_setenv;
void x_cgo_unsetenv(char**);
void (*runtime·_cgo_unsetenv)(char**) = x_cgo_unsetenv;