libbugreport: Drop needless -service suffix 60/255460/1 submit/tizen/20210322.215101 submit/tizen/20210324.111927
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Thu, 18 Mar 2021 11:26:43 +0000 (12:26 +0100)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Thu, 18 Mar 2021 15:11:39 +0000 (16:11 +0100)
Change-Id: I1f7c0d4b021c5bee76d2325649c55bdc6478eac1

src/bugreport/bugreport.pc.in
src/bugreport/libbugreport-service.c
src/bugreport/libbugreport.h

index 1869cb2..1ccd264 100644 (file)
@@ -3,7 +3,7 @@ exec_prefix=${prefix}
 includedir=${prefix}/include
 libdir=${exec_prefix}/lib
 
-Name: bugreport-service
+Name: bugreport
 Description: The bugreport library
 Version: @VERSION@
 Cflags: -I${includedir}
index 98d8fc0..671ecb3 100644 (file)
@@ -20,7 +20,7 @@
 #include <stdlib.h>
 #include <string.h>
 
-#define LOG_TAG "LIBBUGREPORT-SERVICE"
+#define LOG_TAG "LIBBUGREPORT"
 
 #include "shared/log.h"
 
index 23d05a4..cfa6d5b 100644 (file)
@@ -13,8 +13,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef LIBCRASH_SERVICE_H
-#define LIBCRASH_SERVICE_H
+#pragma once
+
 #include <stdbool.h>
 #include <sys/types.h>
 
@@ -27,4 +27,3 @@
  * @return true on success and false on error.
  */
 extern bool livedump_pid(pid_t pid, const char *dump_reason, char *report_path, size_t report_path_len);
-#endif /* LIBCRASH_SERVICE_H */