소스 검색

Move pgettext_aux() declaration earlier

Some compilers get upset if a declaration comes after the definition.
tags/v1.10.90
Pierre Ossman 3 년 전
부모
커밋
a336f174cb
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      vncviewer/i18n.h

+ 2
- 2
vncviewer/i18n.h 파일 보기

@@ -20,8 +20,6 @@
#ifndef _I18N_H
#define _I18N_H 1

#include "gettext.h"

/* Need to tell gcc that pgettext() doesn't screw up format strings */
#ifdef __GNUC__
static const char *
@@ -30,6 +28,8 @@ pgettext_aux (const char *domain,
int category) __attribute__ ((format_arg (3)));
#endif

#include "gettext.h"

#define _(String) gettext (String)
#define p_(Context, String) pgettext (Context, String)
#define N_(String) gettext_noop (String)

Loading…
취소
저장