diff liboctave/lo-cutils.c @ 6108:143b556ce725

[project @ 2006-10-27 01:45:54 by jwe]
author jwe
date Fri, 27 Oct 2006 01:45:56 +0000
parents 89f5979e8552
children ed81d74118bb
line wrap: on
line diff
--- a/liboctave/lo-cutils.c	Thu Oct 26 22:00:12 2006 +0000
+++ b/liboctave/lo-cutils.c	Fri Oct 27 01:45:56 2006 +0000
@@ -53,14 +53,14 @@
 
 #include "syswait.h"
 
-void
+OCTAVE_API void
 octave_qsort (void *base, size_t n, size_t size,
 	      int (*cmp) (const void *, const void *))
 {
   qsort (base, n, size, cmp);
 }
 
-char *
+OCTAVE_API char *
 oct_strptime (const char *buf, const char *format, struct tm *tm)
 {
   return (char *) strptime (buf, format, tm);
@@ -92,7 +92,7 @@
 
 #endif
 
-int
+OCTAVE_API int
 octave_gethostname (char *name, int namelen)
 {
   return gethostname (name, namelen);
@@ -102,14 +102,14 @@
 #include <windows.h>
 
 /* Need this since in C++ can't cast from int(*)() to void* */
-void *
+OCTAVE_API void *
 octave_w32_library_search (HINSTANCE handle, const char * name)
 {
   return (GetProcAddress (handle, name));
 }
 #endif
 
-pid_t
+OCTAVE_API pid_t
 octave_waitpid (pid_t pid, int *status, int options)
 {
   return WAITPID (pid, status, options);