diff options
| author | Andrea Azzarone <azzaronea@gmail.com> | 2017-09-15 11:08:30 +0200 | 
|---|---|---|
| committer | Andrea Azzarone <azzaronea@gmail.com> | 2017-09-15 11:08:30 +0200 | 
| commit | f9fc2e1a5b0e75b68d8310d93afcaa5d071e4051 (patch) | |
| tree | d8f078b8204d0fef922ec05c417693ee21430c53 | |
| parent | 4b7918f28842799772c982b89e248ad8dc36513a (diff) | |
Remove space between function and (. Rename AuthenticationThred to AuthenticationThreadFunc too
(bzr r4253.3.2)
| -rw-r--r-- | lockscreen/UserAuthenticatorPam.cpp | 4 | ||||
| -rw-r--r-- | lockscreen/UserAuthenticatorPam.h | 2 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/lockscreen/UserAuthenticatorPam.cpp b/lockscreen/UserAuthenticatorPam.cpp index e6bf6c033..f4e1952c8 100644 --- a/lockscreen/UserAuthenticatorPam.cpp +++ b/lockscreen/UserAuthenticatorPam.cpp @@ -45,12 +45,12 @@ bool UserAuthenticatorPam::AuthenticateStart(std::string const& username,  authenticate_cb_ = authenticate_cb;  glib::Error error; - g_thread_try_new (nullptr, AuthenticationThread, this, &error); + g_thread_try_new(nullptr, AuthenticationThreadFunc, this, &error);  return !error;  } -gpointer UserAuthenticatorPam::AuthenticationThread(gpointer data) +gpointer UserAuthenticatorPam::AuthenticationThreadFunc(gpointer data)  {  auto self = static_cast<UserAuthenticatorPam*>(data); diff --git a/lockscreen/UserAuthenticatorPam.h b/lockscreen/UserAuthenticatorPam.h index fd8e82944..82273cd49 100644 --- a/lockscreen/UserAuthenticatorPam.h +++ b/lockscreen/UserAuthenticatorPam.h @@ -44,7 +44,7 @@ private:  UserAuthenticatorPam(UserAuthenticatorPam const&) = delete;  UserAuthenticatorPam& operator=(UserAuthenticatorPam const&) = delete; - static gpointer AuthenticationThread(gpointer); + static gpointer AuthenticationThreadFunc(gpointer);  bool InitPam();  static int ConversationFunction(int num_msg, | 
