Commit 85d184f77a776f70bfa9dd79085c16ec1773e319

Ramiro Polla 2007-06-29T20:36:07

Cosmetics: white space

diff --git a/Makefile b/Makefile
index f98579a..a2735c1 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ endif
 all: $(TARGETS)
 
 dlfcn.o:
-	$(CC) -o dlfcn.o -c dlfcn.c -O3 -fomit-frame-pointer 
+	$(CC) -o dlfcn.o -c dlfcn.c -O3 -fomit-frame-pointer
 
 libdl.a: dlfcn.o
 	ar cru libdl.a dlfcn.o
diff --git a/dlfcn.c b/dlfcn.c
index f56a262..18eaa25 100644
--- a/dlfcn.c
+++ b/dlfcn.c
@@ -200,7 +200,7 @@ void *dlsym( void *handle, const char *name )
         if( hModule == handle )
         {
             int i;
-            
+
             for( i = 0 ; i < MAX_OBJECTS ; i++ )
             {
                 if( global_objects[i] != 0 )
@@ -230,7 +230,7 @@ char *dlerror( void )
     DWORD ret;
 
     dwMessageId = GetLastError( );
-    
+
     if( dwMessageId == 0 )
         return NULL;
 
diff --git a/test.c b/test.c
index 832c000..f45a5be 100644
--- a/test.c
+++ b/test.c
@@ -46,7 +46,7 @@ int main()
     char *error;
     int (*function)( void );
     int ret;
-    
+
     library = dlopen( "testdll.dll", RTLD_GLOBAL );
     if( !library )
     {
@@ -55,7 +55,7 @@ int main()
     }
     else
         printf( "Opened library globally: %p\n", library );
-    
+
     global = dlopen( 0, RTLD_GLOBAL );
     if( !global )
     {
@@ -64,7 +64,7 @@ int main()
     }
     else
         printf( "Got global handle: %p\n", global );
-    
+
     function = dlsym( library, "function" );
     if( !function )
     {
@@ -87,7 +87,7 @@ int main()
     }
     else
         printf( "Got symbol from global handle: %p\n", function );
-    
+
     if( function )
         function( );
 
@@ -99,7 +99,7 @@ int main()
     }
     else
         printf( "Closed library.\n" );
-        
+
     library = dlopen( "testdll.dll", RTLD_LOCAL );
     if( !library )
     {