]> code.delx.au - pulseaudio/blobdiff - src/pulse/util.h
core: Fix uninit pointer read in protocol-native
[pulseaudio] / src / pulse / util.h
index 764678e5caafc2258298e5de67f6d3a91984e8ae..e490d56d358f7bd05cb1a7de275050e57dcf296e 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef fooutilhfoo
 #define fooutilhfoo
 
-/* $Id$ */
-
 /***
   This file is part of PulseAudio.
 
@@ -28,6 +26,7 @@
 #include <stddef.h>
 
 #include <pulse/cdecl.h>
+#include <pulse/version.h>
 
 /** \file
  * Assorted utility functions */
@@ -51,7 +50,7 @@ char *pa_get_home_dir(char *s, size_t l);
 char *pa_get_binary_name(char *s, size_t l);
 
 /** Return a pointer to the filename inside a path (which is the last
- * component). */
+ * component). If passed NULL will return NULL. */
 char *pa_path_get_filename(const char *p);
 
 /** Wait t milliseconds */