]> git.sesse.net Git - vlc/blobdiff - src/misc/objects.c
messages: save one byte
[vlc] / src / misc / objects.c
index 49974c6618e152b5e72b8c59e28a0d40e34bceb9..0026ea8f006fd18d3b7953e99aa557a965fc1650 100644 (file)
@@ -56,7 +56,7 @@
 # include <sys/socket.h>
 # include <netinet/in.h>
 # include <unistd.h>    // close(), write()
-#elif defined(WIN32)
+#elif defined(_WIN32)
 # include <io.h>
 # include <winsock2.h>
 # include <ws2tcpip.h>
@@ -287,7 +287,7 @@ static void vlc_object_destroy( vlc_object_t *p_this )
 }
 
 
-#if defined(WIN32) || defined(__OS2__)
+#if defined(_WIN32) || defined(__OS2__)
 /**
  * select()-able pipes emulated using Winsock
  */
@@ -329,7 +329,7 @@ error:
         close (c);
     return -1;
 }
-#endif /* WIN32 || __OS2__ */
+#endif /* _WIN32 || __OS2__ */
 
 static vlc_mutex_t pipe_lock = VLC_STATIC_MUTEX;
 
@@ -437,10 +437,10 @@ vlc_object_t *vlc_object_find_name( vlc_object_t *p_this, const char *psz_name )
     /* This was officially deprecated on August 19 2009. For the convenience of
      * wannabe code janitors, this is the list of names that remain used
      * and unfixed since then. */
-    static const char const bad[][11] = { "adjust", "clone", "colorthres",
+    static const char bad[][11] = { "adjust", "clone", "colorthres",
         "erase", "extract", "gradient", "logo", "marq", "motionblur", "puzzle",
         "rotate", "sharpen", "transform", "v4l2", "wall" };
-    static const char const poor[][13] = { "invert", "magnify", "motiondetect",
+    static const char poor[][13] = { "invert", "magnify", "motiondetect",
         "psychedelic", "ripple", "wave" };
     if( bsearch( psz_name, bad, 15, 11, (void *)strcmp ) == NULL
      && bsearch( psz_name, poor, 6, 13, (void *)strcmp ) == NULL )
@@ -543,7 +543,7 @@ bool vlc_object_alive(vlc_object_t *obj)
 
 #undef vlc_list_children
 /**
- * Gets the list of children of an objects, and increment their reference
+ * Gets the list of children of an object, and increment their reference
  * count.
  * @return a list (possibly empty) or NULL in case of error.
  */