r1520: *** empty log message ***
[uffi.git] / tests / gethostname.cl
index 4916ed33a939714ea61b4804a3efa07e0f0842a2..0b3ceda7820c3c3102714acdabf3bd7aa5a82ce8 100644 (file)
@@ -9,7 +9,7 @@
 ;;;;
 ;;;; Copyright (c) 2002 Kevin M. Rosenberg
 ;;;;
-;;;; $Id: gethostname.cl,v 1.1 2002/03/09 19:55:33 kevin Exp $
+;;;; $Id: gethostname.cl,v 1.2 2002/03/09 21:19:31 kevin Exp $
 ;;;;
 ;;;; This file is part of UFFI. 
 ;;;;
@@ -32,7 +32,7 @@
 
 ;;; This example is inspired by the example on the CL-Cookbook web site
 
-(uffi:def-routine ("gethostname" c-gethostname) 
+(uffi:def-function ("gethostname" c-gethostname) 
     ((name :c-string)
      (len :int))
   :returning :int)