Error message

Deprecated function: Methods with the same name as their class will not be constructors in a future version of PHP; GeSHi has a deprecated constructor in require_once() (line 837 of /usr/local/www/drupal7/sites/all/modules/libraries/libraries.module).

Typedef mit Struct und Funktionen

Code: 
#include <stdio.h>
 
/* structs and functions
   Written by Matthias Fechner
*/
 
typedef struct
{
      int ktnr;
      int blz;
      char *name;
      float betrag;
}konto;
 
void ausgabe(konto);
 
 
int main(void)
{
   konto matthias,willy;
 
   matthias.ktnr=1122;
   matthias.blz=98721;
   matthias.name="Matthias";
   matthias.betrag=2.35;
   willy=matthias;
   willy.name="Willy";
   willy.betrag++;
   willy.ktnr=7643;
 
   ausgabe(matthias);
   ausgabe(willy);
 
   return 0;
}
 
void ausgabe(konto daten)
{
   printf("Name=%s\n",daten.name);
   printf("ktnr=%d\n",daten.ktnr);
   printf("BLZ=%d\n",daten.blz);
   printf("Kontostand=%8.2f\n\n",daten.betrag);
   return;
}
Result: 
~/c_tutor> gcc struct.c                                  idefix@idefix_mobil
~/c_tutor> ./a.out                                       idefix@idefix_mobil
Name=Matthias
ktnr=1122
BLZ=98721
Kontostand=    2.35
 
Name=Willy
ktnr=7643
BLZ=98721
Kontostand=    3.35
Source File: