chiark / gitweb /
tree-wide: beautify remaining copyright statements
[elogind.git] / src / basic / gunicode.c
index 542110503f7f37cd6119e0a4c0918620ea4ef330..c51b1a7a18108fd3e47f8a0dd1395527ce4806e1 100644 (file)
@@ -1,11 +1,9 @@
 /* gunicode.c - Unicode manipulation functions
  *
  *  Copyright (C) 1999, 2000 Tom Tromey
- *  Copyright 2000, 2005 Red Hat, Inc.
+ *  Copyright © 2000, 2005 Red Hat, Inc.
  */
 
-#include <stdlib.h>
-
 #include "gunicode.h"
 
 #define unichar uint32_t
@@ -26,7 +24,7 @@
 char *
 utf8_prev_char (const char *p)
 {
-  while (1)
+  for (;;)
     {
       p--;
       if ((*p & 0xc0) != 0x80)