mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 19:30:37 +01:00
parent
5cf8d6fd19
commit
fa0f53b07b
1 changed files with 9 additions and 0 deletions
|
|
@ -236,4 +236,13 @@ nm_clear_g_source (guint *id)
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
static inline char *
|
||||
nm_strstrip (char *str)
|
||||
{
|
||||
/* g_strstrip doesn't like NULL. */
|
||||
return str ? g_strstrip (str) : NULL;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
#endif /* __NM_MACROS_INTERNAL_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue