This commit is contained in:
Ken Rockot
2011-05-15 20:52:32 +00:00
parent 873f3d0bf4
commit c60b8b6da2
2 changed files with 1 additions and 2 deletions

View File

@@ -5,8 +5,6 @@
#include "gopam.h" #include "gopam.h"
#include "_cgo_export.h" #include "_cgo_export.h"
//#cgo LDFLAGS: -lpam
/* Simplification of pam_get_item to remove type ambiguity. Will never /* Simplification of pam_get_item to remove type ambiguity. Will never
be called (promise) with a type that returns anything other than a string */ be called (promise) with a type that returns anything other than a string */
get_item_result pam_get_item_string(pam_handle_t *handle, int type) { get_item_result pam_get_item_string(pam_handle_t *handle, int type) {

View File

@@ -4,6 +4,7 @@ package pam
import ( import (
//#include "gopam.h" //#include "gopam.h"
//#cgo LDFLAGS: -lpam
"C" "C"
"unsafe" "unsafe"
"strings" "strings"