Skip to content

Commit

Permalink
[common] Define UID_INVALID constant
Browse files Browse the repository at this point in the history
Signed-off-by: Tomi Leppänen <tomi.leppanen@jolla.com>
  • Loading branch information
Tomin1 committed Jun 3, 2020
1 parent 66c5fab commit d1241a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/usb_moded-common.h
Expand Up @@ -98,4 +98,9 @@ gchar *common_get_mode_list (mode_list_type_t type, uid_t ui
# define common_msleep(msec) common_msleep_(__FILE__,__LINE__,__FUNCTION__,(msec))
# define common_sleep(sec) common_msleep_(__FILE__,__LINE__,__FUNCTION__,(sec)*1000)

/* ========================================================================= *
* Constants
* ========================================================================= */
# define UID_UNKNOWN ((uid_t)-1)

#endif /* USB_MODED_COMMON_H_ */

0 comments on commit d1241a7

Please sign in to comment.